summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2018-05-23 13:43:57 (GMT)
committerdgp <dgp@users.sourceforge.net>2018-05-23 13:43:57 (GMT)
commit94314d340912c11bcd33a9631f14e3f1d20607ff (patch)
treeff63f117fe7a5e3c5d9c9b5a11f48f2693f645f9 /unix
parentae73bae096e79e0d8031278d53738217c8eda75c (diff)
parent46aab3eb09ed92b1b43e3d08484dfe88efe06cab (diff)
downloadtcl-94314d340912c11bcd33a9631f14e3f1d20607ff.zip
tcl-94314d340912c11bcd33a9631f14e3f1d20607ff.tar.gz
tcl-94314d340912c11bcd33a9631f14e3f1d20607ff.tar.bz2
merge 8.7
Diffstat (limited to 'unix')
-rw-r--r--unix/tclEpollNotfy.c2
-rw-r--r--unix/tclKqueueNotfy.c2
-rw-r--r--unix/tclSelectNotfy.c2
-rw-r--r--unix/tclUnixNotfy.c1
4 files changed, 4 insertions, 3 deletions
diff --git a/unix/tclEpollNotfy.c b/unix/tclEpollNotfy.c
index b3ee57a..8a083d8 100644
--- a/unix/tclEpollNotfy.c
+++ b/unix/tclEpollNotfy.c
@@ -12,10 +12,10 @@
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*/
+#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>
diff --git a/unix/tclKqueueNotfy.c b/unix/tclKqueueNotfy.c
index da52d96..c781ce2 100644
--- a/unix/tclKqueueNotfy.c
+++ b/unix/tclKqueueNotfy.c
@@ -13,9 +13,9 @@
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*/
+#include "tclInt.h"
#if defined(NOTIFIER_KQUEUE) && TCL_THREADS
-#include "tclInt.h"
#ifndef HAVE_COREFOUNDATION /* Darwin/Mac OS X CoreFoundation notifier is
* in tclMacOSXNotify.c */
#include <signal.h>
diff --git a/unix/tclSelectNotfy.c b/unix/tclSelectNotfy.c
index 58dc742..811b49a 100644
--- a/unix/tclSelectNotfy.c
+++ b/unix/tclSelectNotfy.c
@@ -11,9 +11,9 @@
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*/
+#include "tclInt.h"
#if (!defined(NOTIFIER_EPOLL) && !defined(NOTIFIER_KQUEUE)) || !TCL_THREADS
-#include "tclInt.h"
#ifndef HAVE_COREFOUNDATION /* Darwin/Mac OS X CoreFoundation notifier is
* in tclMacOSXNotify.c */
#include <signal.h>
diff --git a/unix/tclUnixNotfy.c b/unix/tclUnixNotfy.c
index 062d817..fb7e569 100644
--- a/unix/tclUnixNotfy.c
+++ b/unix/tclUnixNotfy.c
@@ -12,6 +12,7 @@
*/
#include <poll.h>
+#include "tclInt.h"
/*
* Static routines defined in this file.