summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2017-05-31 13:03:54 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2017-05-31 13:03:54 (GMT)
commit1a543aa367940f7b7f4f8c6a8e83f673e2715611 (patch)
tree31743681dc1387fa3074c16a4569cfbca1f21a31 /unix
parent66bf50e520e105566da6e6d61e0da299a4c22f3e (diff)
downloadtcl-1a543aa367940f7b7f4f8c6a8e83f673e2715611.zip
tcl-1a543aa367940f7b7f4f8c6a8e83f673e2715611.tar.gz
tcl-1a543aa367940f7b7f4f8c6a8e83f673e2715611.tar.bz2
Fix [83a3d869722fab9caaae3b6728215fb2507a6f0d|83a3d86972]: tclEpollNotfy.c fails to compile on Linux 2.6.<22 due to unconditionally including <sys/eventfd.h>
Also re-generate regc_locale.c with Unicode 10 tables: previous generation went horribly wrong somehow...
Diffstat (limited to 'unix')
-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>