summaryrefslogtreecommitdiff
path: root/Utility
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-04-24 10:39:52 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-04-24 10:39:52 -0400
commit7489ab04924259f252557e57d2d2d3f1677e8406 (patch)
tree663cd325cf9048782f1d6137fd8879a0592298aa /Utility
parent176c58f65cb876d3edeaff9b68ab039995147ef5 (diff)
include sys/types.h
I have a report that this is necessary for freebsd. It seemed not necessary for OSX, but even there the kqueue man page says to include this header (along with sys/time.h which it already does).
Diffstat (limited to 'Utility')
-rw-r--r--Utility/libkqueue.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Utility/libkqueue.c b/Utility/libkqueue.c
index b5a19a135..a87f65102 100644
--- a/Utility/libkqueue.c
+++ b/Utility/libkqueue.c
@@ -10,6 +10,7 @@
#include <fcntl.h>
#include <stdlib.h>
#include <unistd.h>
+#include <sys/types.h>
#include <sys/event.h>
#include <sys/time.h>
#include <errno.h>