aboutsummaryrefslogtreecommitdiff
path: root/time/sys/time.h
diff options
context:
space:
mode:
Diffstat (limited to 'time/sys/time.h')
-rw-r--r--time/sys/time.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/time/sys/time.h b/time/sys/time.h
index f7553dd3a1..3646f9f060 100644
--- a/time/sys/time.h
+++ b/time/sys/time.h
@@ -23,15 +23,11 @@ Cambridge, MA 02139, USA. */
#include <time.h>
-__BEGIN_DECLS
+#define __need_timeval
+#include <timebits.h>
-/* A time value that is accurate to the nearest
- microsecond but also has a range of years. */
-struct timeval
- {
- int tv_sec; /* Seconds. */
- int tv_usec; /* Microseconds. */
- };
+
+__BEGIN_DECLS
/* Macros for converting between `struct timeval' and `struct timespec'. */
#define TIMEVAL_TO_TIMESPEC(tv, ts) { \