aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/select.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/select.c b/lib/select.c
index 3069a0c00..8ccd47cd1 100644
--- a/lib/select.c
+++ b/lib/select.c
@@ -26,6 +26,13 @@
#ifdef HAVE_SYS_SELECT_H
#include <sys/select.h>
#endif
+#ifdef HAVE_SYS_TYPES_H
+#include <sys/types.h>
+#endif
+
+#ifdef HAVE_SYS_TIME_H
+#include <sys/time.h>
+#endif
#ifndef HAVE_SELECT
#error "We can't compile without select() support!"