mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00: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:
@@ -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