aboutsummaryrefslogtreecommitdiff
path: root/lib/select.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/select.c')
-rw-r--r--lib/select.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/select.c b/lib/select.c
index 1ab023934..857e7f698 100644
--- a/lib/select.c
+++ b/lib/select.c
@@ -24,6 +24,8 @@
#ifdef HAVE_SYS_SELECT_H
#include <sys/select.h>
+#elif defined(HAVE_UNISTD_H)
+#include <unistd.h>
#endif
#if !defined(HAVE_SELECT) && !defined(HAVE_POLL_FINE)