summaryrefslogtreecommitdiff
path: root/openbsd-compat/bsd-misc.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2006-08-24 19:43:16 +1000
committerDarren Tucker <dtucker@zip.com.au>2006-08-24 19:43:16 +1000
commite086955531ffef96bc15d51a07f25ae65804dc1c (patch)
treeb6bd23411e31089c12c95bdf05009e4491bea2c2 /openbsd-compat/bsd-misc.c
parentfe408b4826f92b96976b46dec02218bd66dfc6e1 (diff)
- (dtucker) [openbsd-compat/bsd-misc.c] Add includes needed for select(2) on
older systems.
Diffstat (limited to 'openbsd-compat/bsd-misc.c')
-rw-r--r--openbsd-compat/bsd-misc.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/openbsd-compat/bsd-misc.c b/openbsd-compat/bsd-misc.c
index e6128f9a..c6b80365 100644
--- a/openbsd-compat/bsd-misc.c
+++ b/openbsd-compat/bsd-misc.c
@@ -17,8 +17,13 @@
#include "includes.h"
+#ifdef HAVE_SYS_TIME_H
+# include <sys/time.h>
+#endif
+
#include <string.h>
#include <signal.h>
+#include <stdlib.h>
#include "xmalloc.h"