aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
Diffstat (limited to 'misc')
-rw-r--r--misc/sys/select.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/misc/sys/select.h b/misc/sys/select.h
index 52dd94fe01..2e4de407d7 100644
--- a/misc/sys/select.h
+++ b/misc/sys/select.h
@@ -38,13 +38,11 @@ typedef __sigset_t sigset_t;
#endif
/* Get definition of timer specification structures. */
-#define __need_time_t
+#include <bits/types/time_t.h>
+#include <bits/types/struct_timeval.h>
#ifdef __USE_XOPEN2K
-# define __need_timespec
+# include <bits/types/struct_timespec.h>
#endif
-#include <time.h>
-#define __need_timeval
-#include <bits/time.h>
#ifndef __suseconds_t_defined
typedef __suseconds_t suseconds_t;