summaryrefslogtreecommitdiff
path: root/src/kqueue.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kqueue.cpp')
-rw-r--r--src/kqueue.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/kqueue.cpp b/src/kqueue.cpp
index c3ef5b5..06e22d3 100644
--- a/src/kqueue.cpp
+++ b/src/kqueue.cpp
@@ -21,7 +21,7 @@
#include "kqueue.hpp"
-#if defined XS_HAVE_KQUEUE
+#if defined XS_USE_ASYNC_KQUEUE
#include <sys/time.h>
#include <sys/types.h>
@@ -31,6 +31,7 @@
#include <algorithm>
#include <new>
+#include "platform.hpp"
#include "kqueue.hpp"
#include "err.hpp"
#include "config.hpp"