about summary refs log tree commit diff
path: root/include/sys
diff options
context:
space:
mode:
Diffstat (limited to 'include/sys')
-rw-r--r--include/sys/select.h1
-rw-r--r--include/sys/time.h9
2 files changed, 1 insertions, 9 deletions
diff --git a/include/sys/select.h b/include/sys/select.h
index c44eada4..54d8030f 100644
--- a/include/sys/select.h
+++ b/include/sys/select.h
@@ -6,6 +6,7 @@ extern "C" {
 
 #define __NEED_size_t
 #define __NEED_time_t
+#define __NEED_suseconds_t
 #define __NEED_struct_timeval
 #define __NEED_struct_timespec
 #define __NEED_sigset_t
diff --git a/include/sys/time.h b/include/sys/time.h
index 70fd5687..b39800f2 100644
--- a/include/sys/time.h
+++ b/include/sys/time.h
@@ -4,17 +4,8 @@
 extern "C" {
 #endif
 
-/* All symbols from select.h except pselect are required anyway... */
 #include <sys/select.h>
 
-#define __NEED_time_t
-#define __NEED_suseconds_t
-#define __NEED_struct_timeval
-
-#include <bits/alltypes.h>
-
-
-
 int gettimeofday (struct timeval *, void *);
 
 #if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE)