From 6b09dd4b9fcbece97bfa69ed1701e0b0dc949427 Mon Sep 17 00:00:00 2001 From: Max Lv Date: Sun, 13 Mar 2016 13:12:08 +0800 Subject: [PATCH] Fix #559 --- libev/ev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libev/ev.c b/libev/ev.c index 39b9faf6..e75fd639 100644 --- a/libev/ev.c +++ b/libev/ev.c @@ -2603,7 +2603,7 @@ ev_recommended_backends (void) EV_THROW { unsigned int flags = ev_supported_backends (); -#ifndef __NetBSD__ +#if !defined(__NetBSD__) && !defined(__FreeBSD__) /* kqueue is borked on everything but netbsd apparently */ /* it usually doesn't work correctly on anything but sockets and pipes */ flags &= ~EVBACKEND_KQUEUE;