aboutsummaryrefslogtreecommitdiff
path: root/src/threadsocket.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/threadsocket.cpp')
-rw-r--r--src/threadsocket.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/threadsocket.cpp b/src/threadsocket.cpp
index 901fbad03..f9291a2d4 100644
--- a/src/threadsocket.cpp
+++ b/src/threadsocket.cpp
@@ -22,7 +22,7 @@
#include "inspircd.h"
-#ifdef HAS_EVENTFD
+#if __has_include(<sys/eventfd.h>)
#include <sys/eventfd.h>
class ThreadSignalSocket : public EventHandler