Define __need_time_t before including <time.h>.
authordrepper <drepper>
Sat, 18 Aug 2001 23:34:57 +0000 (23:34 +0000)
committerdrepper <drepper>
Sat, 18 Aug 2001 23:34:57 +0000 (23:34 +0000)
Define suseconds_t if it hasn't happened yet.

misc/sys/select.h

index 8f03c73..c065113 100644 (file)
@@ -39,11 +39,17 @@ typedef __sigset_t sigset_t;
 #endif
 
 /* Get definition of timer specification structures.  */
+#define __need_time_t
 #define __need_timespec
 #include <time.h>
 #define __need_timeval
 #include <bits/time.h>
 
+#ifndef __suseconds_t_defined
+typedef __suseconds_t suseconds_t;
+# define __suseconds_t_defined
+#endif
+
 
 /* The fd_set member is required to be an array of longs.  */
 typedef long int __fd_mask;