summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixPort.h
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/tclUnixPort.h
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/tclUnixPort.h')
-rw-r--r--unix/tclUnixPort.h6
1 files changed, 1 insertions, 5 deletions
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);