summaryrefslogtreecommitdiffstats
path: root/otherlibs/unix
diff options
context:
space:
mode:
Diffstat (limited to 'otherlibs/unix')
-rw-r--r--otherlibs/unix/select.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/otherlibs/unix/select.c b/otherlibs/unix/select.c
index ae1f5600a..0e6d16ec8 100644
--- a/otherlibs/unix/select.c
+++ b/otherlibs/unix/select.c
@@ -20,6 +20,9 @@
#include <sys/types.h>
#include <sys/time.h>
+#ifdef HAS_SYS_SELECT_H
+#include <sys/select.h>
+#endif
#ifdef FD_ISSET
typedef fd_set file_descr_set;