diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2017-05-31 13:03:54 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2017-05-31 13:03:54 (GMT) |
commit | 1a543aa367940f7b7f4f8c6a8e83f673e2715611 (patch) | |
tree | 31743681dc1387fa3074c16a4569cfbca1f21a31 /unix | |
parent | 66bf50e520e105566da6e6d61e0da299a4c22f3e (diff) | |
download | tcl-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.c | 2 |
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> |