summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
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);