From 156097e6c602b8f307fad62ed0ca1b4547f6c2d5 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Thu, 30 Aug 2018 08:24:36 -0700 Subject: fixes #684 CentOS 5 broken -- has epoll but not eventfd --- src/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index e59ee5b0..14894db8 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -119,7 +119,7 @@ if (NNG_PLATFORM_POSIX) set (NNG_SOURCES ${NNG_SOURCES} platform/posix/posix_pollq_kqueue.c ) - elseif (NNG_HAVE_EPOLL) + elseif (NNG_HAVE_EPOLL AND NNG_HAVE_EVENTFD) set (NNG_SOURCES ${NNG_SOURCES} platform/posix/posix_pollq_epoll.c ) -- cgit v1.2.3-70-g09d2