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 | 3f0e8d6265db0d5853ab55de2ead9a045c678b6e (patch) | |
tree | 31743681dc1387fa3074c16a4569cfbca1f21a31 /unix | |
parent | aaca962ffe28bf771f3e4655aa74ba9f90261fcf (diff) | |
download | tcl-3f0e8d6265db0d5853ab55de2ead9a045c678b6e.zip tcl-3f0e8d6265db0d5853ab55de2ead9a045c678b6e.tar.gz tcl-3f0e8d6265db0d5853ab55de2ead9a045c678b6e.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> |