summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxtime/test.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psxtime/test.c')
-rw-r--r--testsuites/psxtests/psxtime/test.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuites/psxtests/psxtime/test.c b/testsuites/psxtests/psxtime/test.c
index ca6bae2d06..da0b0b9f6e 100644
--- a/testsuites/psxtests/psxtime/test.c
+++ b/testsuites/psxtests/psxtime/test.c
@@ -22,6 +22,11 @@
#include <string.h>
#include <rtems.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 check_a_tod(