summaryrefslogtreecommitdiffstats
path: root/unix/tclEpollNotfy.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2018-06-12 18:02:24 (GMT)
committerdgp <dgp@users.sourceforge.net>2018-06-12 18:02:24 (GMT)
commita54459bed607a9d65134f2d5b535e29f75c0d252 (patch)
tree35ebae2d63bc07792e3d361d8ac718fe69a22492 /unix/tclEpollNotfy.c
parent7fe9e1b90c4464f3f288cecc3fa1d65bb6904cd1 (diff)
parentf2ec60553a7e3f8cc433362a672fa9eea014b332 (diff)
downloadtcl-a54459bed607a9d65134f2d5b535e29f75c0d252.zip
tcl-a54459bed607a9d65134f2d5b535e29f75c0d252.tar.gz
tcl-a54459bed607a9d65134f2d5b535e29f75c0d252.tar.bz2
close fork
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>