mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-11-09 08:37:58 +08:00
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:
1 parent
ca0df80a9b
commit
c486a873db
1 file changed
+5
@@ -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(
|
||||
|
||||
Reference in new issue
Block a user