aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-11-20 08:57:56 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-11-20 08:57:56 +0000
commit1729918777a31733a8be724929378fb8e4a858b3 (patch)
treee8ed11011b82f9ee6156694ad67b6f45a758e10d
parentcef290c6b4e95f1a6ad6925495512b0b9b7235e7 (diff)
Dan Fandrich fix to compile with libc5
-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!"