forked from Imagelibrary/rtems
2009-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
* psxtime/test.c: Include <sys/time.h>.
Conditionally add local prototype for adjtime()
if sys/time.h doesn't supply it.
This commit is contained in:
@@ -22,6 +22,11 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <rtems.h>
|
#include <rtems.h>
|
||||||
#include <rtems/libio.h>
|
#include <rtems/libio.h>
|
||||||
|
#include <sys/time.h>
|
||||||
|
|
||||||
|
#if !HAVE_DECL_ADJTIME
|
||||||
|
extern int adjtime(const struct timeval *delta, struct timeval *olddelta);
|
||||||
|
#endif
|
||||||
|
|
||||||
void test_adjtime(void);
|
void test_adjtime(void);
|
||||||
void check_a_tod(
|
void check_a_tod(
|
||||||
|
|||||||
Reference in New Issue
Block a user