diff options
author | Darren Tucker <dtucker@zip.com.au> | 2007-04-29 12:06:55 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2007-04-29 12:06:55 +1000 |
commit | 781e7a28d0376af76bae27495bac5054510688b1 (patch) | |
tree | 401eff219ea78115c0f84b71d5a2e8942c09c5ef /openbsd-compat | |
parent | 2a3868589b2c7a7893f08d254f1c8fd0b23098a5 (diff) |
- (dtucker) [openbsd-compat/bsd-misc.c] Include unistd.h and sys/types.h
for select(2) prototype.
Diffstat (limited to 'openbsd-compat')
-rw-r--r-- | openbsd-compat/bsd-misc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsd-compat/bsd-misc.c b/openbsd-compat/bsd-misc.c index 17d731bd2..bea3144bd 100644 --- a/openbsd-compat/bsd-misc.c +++ b/openbsd-compat/bsd-misc.c | |||
@@ -17,6 +17,7 @@ | |||
17 | 17 | ||
18 | #include "includes.h" | 18 | #include "includes.h" |
19 | 19 | ||
20 | #include <sys/types.h> | ||
20 | #ifdef HAVE_SYS_SELECT_H | 21 | #ifdef HAVE_SYS_SELECT_H |
21 | # include <sys/select.h> | 22 | # include <sys/select.h> |
22 | #endif | 23 | #endif |
@@ -27,6 +28,7 @@ | |||
27 | #include <string.h> | 28 | #include <string.h> |
28 | #include <signal.h> | 29 | #include <signal.h> |
29 | #include <stdlib.h> | 30 | #include <stdlib.h> |
31 | #include <unistd.h> | ||
30 | 32 | ||
31 | #include "xmalloc.h" | 33 | #include "xmalloc.h" |
32 | 34 | ||