summaryrefslogtreecommitdiffstats
path: root/unix/tclEpollNotfy.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2017-06-02 11:08:57 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2017-06-02 11:08:57 (GMT)
commit43f72f639e769da85db050f2e571b556502f32ab (patch)
tree183b8ac2ca67fab6772f6e9738009e6a65799d4d /unix/tclEpollNotfy.c
parent242f56b0931124121db5ea095c3fdc57c7240059 (diff)
parentf5f03750c82c00fb96383a48414a553b53130d73 (diff)
downloadtcl-43f72f639e769da85db050f2e571b556502f32ab.zip
tcl-43f72f639e769da85db050f2e571b556502f32ab.tar.gz
tcl-43f72f639e769da85db050f2e571b556502f32ab.tar.bz2
merge trunk
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>