Define __need_timer_t and __need_clockid_t before including <time.h>.
authordrepper <drepper>
Mon, 14 Aug 2000 04:47:28 +0000 (04:47 +0000)
committerdrepper <drepper>
Mon, 14 Aug 2000 04:47:28 +0000 (04:47 +0000)
posix/sys/types.h

index bf07f73..816c029 100644 (file)
@@ -121,6 +121,8 @@ typedef __key_t key_t;
 # define __need_clock_t
 #endif
 #define        __need_time_t
+#define __need_timer_t
+#define __need_clockid_t
 #include <time.h>
 
 #ifdef __USE_XOPEN