From 8a77df9e28114cbfd83351070fdb266cf31fc310 Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Thu, 15 Nov 2012 11:13:40 +0100 Subject: [PATCH] Disable support for kqueue on MacOS/X. Apparently MacOS/X doesn't support kqueue events on character devices. --- src/tincd.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/tincd.c b/src/tincd.c index 9f94d89..28f30a5 100644 --- a/src/tincd.c +++ b/src/tincd.c @@ -450,6 +450,10 @@ int main2(int argc, char **argv) { } #endif +#ifdef HAVE_DARWIN + setenv("EVENT_NOKQUEUE", "1", 0); +#endif + if(!event_init()) { logger(DEBUG_ALWAYS, LOG_ERR, "Error initializing libevent!"); return 1; -- 2.25.1