diff options
author | Darren Tucker <dtucker@zip.com.au> | 2006-08-24 19:45:33 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2006-08-24 19:45:33 +1000 |
commit | 450d2af2a3f07e46cc1490a0029a9f669dd60108 (patch) | |
tree | c36f2b5774cf593b93d19bcf120349634d1424bf /openbsd-compat/bsd-misc.c | |
parent | e086955531ffef96bc15d51a07f25ae65804dc1c (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.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/openbsd-compat/bsd-misc.c b/openbsd-compat/bsd-misc.c index c6b80365c..17d731bd2 100644 --- a/openbsd-compat/bsd-misc.c +++ b/openbsd-compat/bsd-misc.c | |||
@@ -17,6 +17,9 @@ | |||
17 | 17 | ||
18 | #include "includes.h" | 18 | #include "includes.h" |
19 | 19 | ||
20 | #ifdef HAVE_SYS_SELECT_H | ||
21 | # include <sys/select.h> | ||
22 | #endif | ||
20 | #ifdef HAVE_SYS_TIME_H | 23 | #ifdef HAVE_SYS_TIME_H |
21 | # include <sys/time.h> | 24 | # include <sys/time.h> |
22 | #endif | 25 | #endif |