summaryrefslogtreecommitdiffstats
path: root/unix/tclEpollNotfy.c
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2018-06-02 14:19:33 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2018-06-02 14:19:33 (GMT)
commit63be474164fb2a29b17269cc7bc821d23ed6805e (patch)
tree7f717a781c3f045b19d2c31fafbc7ce30e319c39 /unix/tclEpollNotfy.c
parent6ab540f5ff1eca1d921e511eed5caaa192f4e547 (diff)
parent5e3ca11761b27133a62ee5cd5e340956c640ca8d (diff)
downloadtcl-63be474164fb2a29b17269cc7bc821d23ed6805e.zip
tcl-63be474164fb2a29b17269cc7bc821d23ed6805e.tar.gz
tcl-63be474164fb2a29b17269cc7bc821d23ed6805e.tar.bz2
merge core-8-branch
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>