summaryrefslogtreecommitdiff
path: root/openbsd-compat/bsd-misc.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2006-08-24 19:45:33 +1000
committerDarren Tucker <dtucker@zip.com.au>2006-08-24 19:45:33 +1000
commit450d2af2a3f07e46cc1490a0029a9f669dd60108 (patch)
treec36f2b5774cf593b93d19bcf120349634d1424bf /openbsd-compat/bsd-misc.c
parente086955531ffef96bc15d51a07f25ae65804dc1c (diff)
- (dtucker) [openbsd-compat/bsd-misc.c] Include <sys/select.h> for select(2)
on POSIX systems.
Diffstat (limited to 'openbsd-compat/bsd-misc.c')
-rw-r--r--openbsd-compat/bsd-misc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/openbsd-compat/bsd-misc.c b/openbsd-compat/bsd-misc.c
index c6b80365..17d731bd 100644
--- a/openbsd-compat/bsd-misc.c
+++ b/openbsd-compat/bsd-misc.c
@@ -17,6 +17,9 @@
#include "includes.h"
+#ifdef HAVE_SYS_SELECT_H
+# include <sys/select.h>
+#endif
#ifdef HAVE_SYS_TIME_H
# include <sys/time.h>
#endif