summaryrefslogtreecommitdiffstats
path: root/unix/tclEpollNotfy.c
diff options
context:
space:
mode:
Diffstat (limited to 'unix/tclEpollNotfy.c')
-rw-r--r--unix/tclEpollNotfy.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/unix/tclEpollNotfy.c b/unix/tclEpollNotfy.c
index 5ed5d5d..088f314 100644
--- a/unix/tclEpollNotfy.c
+++ b/unix/tclEpollNotfy.c
@@ -21,7 +21,9 @@
#include <fcntl.h>
#include <signal.h>
#include <sys/epoll.h>
+#ifdef HAVE_EVENTFD
#include <sys/eventfd.h>
+#endif /* HAVE_EVENTFD */
#include <sys/queue.h>
#include <unistd.h>