From 0fb5a016497d3061a6edf40752c06127f3abb796 Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Fri, 20 Apr 2012 07:42:10 +0200 Subject: Select polling mechanisms at one place This patch provides a single place for selecting polling mechanisms (polling.hpp). Up to now the selection was spread among the build system and several source files. Signed-off-by: Martin Sustrik --- src/kqueue.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/kqueue.cpp') 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 #include @@ -31,6 +31,7 @@ #include #include +#include "platform.hpp" #include "kqueue.hpp" #include "err.hpp" #include "config.hpp" -- cgit v1.2.3