summary refs log tree commit diff
path: root/time/time.h
diff options
context:
space:
mode:
Diffstat (limited to 'time/time.h')
-rw-r--r--time/time.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/time/time.h b/time/time.h
index 12c3ce43e8..5926d80c8e 100644
--- a/time/time.h
+++ b/time/time.h
@@ -57,8 +57,10 @@ __BEGIN_DECLS
 	(defined(_TIME_H) || defined(__need_clock_t))
 #define	__clock_t_defined	1
 
+#include <gnu/types.h>
+
 /* Returned by `clock'.  */
-typedef long int clock_t;
+typedef __clock_t clock_t;
 
 #endif /* clock_t not defined and <time.h> or need clock_t.  */
 #undef	__need_clock_t