commit 49c675a0e98daecef2d89f7f187b3c899648684a
parent 9d2994f1eaa7bf13b7251293ceea04040cdf8553
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date: Thu, 24 Nov 2022 17:59:30 +0300
configure: fixed detection of eventfd() with new compilers builds
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/configure.ac b/configure.ac
@@ -2032,6 +2032,7 @@ AS_IF([[test "x$enable_itc" = "xeventfd" || test "x$enable_itc" = "xauto"]], [
AC_LINK_IFELSE([
AC_LANG_PROGRAM([[
#include <sys/eventfd.h>
+#include <unistd.h>
]], [[
int ef = eventfd(0, EFD_CLOEXEC | EFD_NONBLOCK);
if (ef < 0) return 1;