summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/sys/time.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/sys/time.h b/include/sys/time.h
index ae5d954d6..c05c5c210 100644
--- a/include/sys/time.h
+++ b/include/sys/time.h
@@ -21,8 +21,6 @@
#include <features.h>
-#include <time.h>
-
/* POSIX.4 structure for a time value. This is like a `struct timeval' but
has nanoseconds instead of microseconds. */
struct timespec
@@ -31,6 +29,7 @@ struct timespec
long int tv_nsec; /* Nanoseconds. */
};
+#include <time.h>
#include <sys/select.h>
#define __need_timeval