about summary refs log tree commit diff
path: root/misc/sys/select.h
diff options
context:
space:
mode:
Diffstat (limited to 'misc/sys/select.h')
-rw-r--r--misc/sys/select.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/misc/sys/select.h b/misc/sys/select.h
index 8f03c73e99..c065113a8b 100644
--- a/misc/sys/select.h
+++ b/misc/sys/select.h
@@ -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;