From 8af99883e12a6a3784e69f9935c5cdb67f90006f Mon Sep 17 00:00:00 2001
From: Konstantin Osipov <kostja@tarantool.org>
Date: Mon, 6 Jul 2015 18:24:22 +0300
Subject: [PATCH] libev: kqueue works OK on modern FreeBSD, use it.

---
 third_party/libev/ev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/third_party/libev/ev.c b/third_party/libev/ev.c
index 34a30b6f50..083c9f6c10 100644
--- a/third_party/libev/ev.c
+++ b/third_party/libev/ev.c
@@ -2225,7 +2225,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;
-- 
GitLab