diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-10-25 17:51:21 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-10-25 17:51:21 +0000 |
commit | c486a873db3dd9f11f2bb103f9d48d442ee883ae (patch) | |
tree | 1f5e88950f9187a956fa980de953f622e4ed24a5 /testsuites/psxtests | |
parent | 2009-10-25 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-c486a873db3dd9f11f2bb103f9d48d442ee883ae.tar.bz2 |
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.
Diffstat (limited to 'testsuites/psxtests')
-rw-r--r-- | testsuites/psxtests/psxtime/test.c | 5 |
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( |