summary refs log tree commit diff
path: root/sysdeps/generic/bp-thunks.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/bp-thunks.h')
-rw-r--r--sysdeps/generic/bp-thunks.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sysdeps/generic/bp-thunks.h b/sysdeps/generic/bp-thunks.h
index b036d6ab52..6a00e6b61c 100644
--- a/sysdeps/generic/bp-thunks.h
+++ b/sysdeps/generic/bp-thunks.h
@@ -31,12 +31,19 @@
 #include <libc-symbols.h>
 #include <bp-sym.h>
 #include <bp-checks.h>
+
+/* Get `struct timeval' definition for select.  */
+#define __need_timeval
+#include <bits/time.h>
+
 #include <stddef.h>
 #include <unistd.h>
 #include <sched.h>
 #include <signal.h>
 #include <fcntl.h>
+#include <time.h>
 #include <utime.h>
+
 #include <sys/types.h>
 #include <sys/ioctl.h>
 #include <sys/klog.h>