summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.bin/make/job.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.bin/make/job.c b/usr.bin/make/job.c
index e7d0450..59f3ec9 100644
--- a/usr.bin/make/job.c
+++ b/usr.bin/make/job.c
@@ -106,7 +106,9 @@ __FBSDID("$FreeBSD$");
#include <sys/stat.h>
#include <sys/file.h>
#include <sys/time.h>
+#ifdef USE_KQUEUE
#include <sys/event.h>
+#endif
#include <sys/wait.h>
#include <err.h>
#include <errno.h>
OpenPOWER on IntegriCloud