summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2015-03-04 17:28:27 +0000
committerRoy Marples <roy@marples.name>2015-03-04 17:28:27 +0000
commit940aaf18e758c872cf68bc4213e2d735e729f601 (patch)
tree0b1747a216f6dcb96ba0617c976ef21ba9bc1b6c /configure
parent804d1ead10bc7c120aabf747fbd2b595ca335278 (diff)
downloaddhcpcd-940aaf18e758c872cf68bc4213e2d735e729f601.tar.xz
Fix compile on FreeBSD
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure b/configure
index 2f88536e..001711d8 100755
--- a/configure
+++ b/configure
@@ -792,6 +792,7 @@ fi
if [ -z "$POLL" ]; then
printf "Testing for kqueue1 ... "
cat <<EOF >_kqueue.c
+#include <sys/types.h>
#include <sys/event.h>
int main(void) {
return kqueue1(0);
@@ -808,6 +809,7 @@ fi
if [ -z "$POLL" ]; then
printf "Testing for kqueue ... "
cat <<EOF >_kqueue.c
+#include <sys/types.h>
#include <sys/event.h>
int main(void) {
return kqueue();