summaryrefslogtreecommitdiffstats
path: root/unix/tclEpollNotfy.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2018-05-31 07:21:14 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2018-05-31 07:21:14 (GMT)
commitf6fb514688fd064e40169f99deadd9eba05492d5 (patch)
tree27efc6551afe19c9c3c72ae95f5466428b9abf29 /unix/tclEpollNotfy.c
parent1489bcfe34b0e81138fd726440870be0ba49c6da (diff)
parent5e3ca11761b27133a62ee5cd5e340956c640ca8d (diff)
downloadtcl-f6fb514688fd064e40169f99deadd9eba05492d5.zip
tcl-f6fb514688fd064e40169f99deadd9eba05492d5.tar.gz
tcl-f6fb514688fd064e40169f99deadd9eba05492d5.tar.bz2
Merge 8.7
Diffstat (limited to 'unix/tclEpollNotfy.c')
-rw-r--r--unix/tclEpollNotfy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/tclEpollNotfy.c b/unix/tclEpollNotfy.c
index 076e02b..8a083d8 100644
--- a/unix/tclEpollNotfy.c
+++ b/unix/tclEpollNotfy.c
@@ -12,10 +12,10 @@
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*/
-#ifdef NOTIFIER_EPOLL
+#include "tclInt.h"
+#if defined(NOTIFIER_EPOLL) && TCL_THREADS
#define _GNU_SOURCE /* For pipe2(2) */
-#include "tclInt.h"
#ifndef HAVE_COREFOUNDATION /* Darwin/Mac OS X CoreFoundation notifier is
* in tclMacOSXNotify.c */
#include <fcntl.h>