summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-01-28 22:20:40 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-01-28 22:20:40 (GMT)
commit2f4e9acf95114b76c0ec84ab85445cff3b5cb1e3 (patch)
treefbe9b05ddce4547ad862b2440a75d4bc2fc31063 /unix
parent7518a795db507343cc0aa73a0b825e51a8c86eca (diff)
downloadtcl-2f4e9acf95114b76c0ec84ab85445cff3b5cb1e3.zip
tcl-2f4e9acf95114b76c0ec84ab85445cff3b5cb1e3.tar.gz
tcl-2f4e9acf95114b76c0ec84ab85445cff3b5cb1e3.tar.bz2
Fix for [f559bbde4e] (even though that's not really a bug)
Diffstat (limited to 'unix')
-rw-r--r--unix/tclEpollNotfy.c1
-rw-r--r--unix/tclUnixPort.h6
2 files changed, 1 insertions, 6 deletions
diff --git a/unix/tclEpollNotfy.c b/unix/tclEpollNotfy.c
index 7a5e09d..4961ef5 100644
--- a/unix/tclEpollNotfy.c
+++ b/unix/tclEpollNotfy.c
@@ -24,7 +24,6 @@
#include <sys/eventfd.h>
#endif /* HAVE_EVENTFD */
#include <sys/queue.h>
-#include <unistd.h>
/*
* This structure is used to keep track of the notifier info for a registered
diff --git a/unix/tclUnixPort.h b/unix/tclUnixPort.h
index 57853c4..c982585 100644
--- a/unix/tclUnixPort.h
+++ b/unix/tclUnixPort.h
@@ -156,11 +156,7 @@ typedef off_t Tcl_SeekOffset;
#ifdef HAVE_STDINT_H
# include <stdint.h>
#endif
-#ifdef HAVE_UNISTD_H
-# include <unistd.h>
-#else
-# include "../compat/unistd.h"
-#endif
+#include <unistd.h>
MODULE_SCOPE int TclUnixSetBlockingMode(int fd, int mode);