summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixPort.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-01-17 08:28:41 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-01-17 08:28:41 (GMT)
commitd1e73c606588fdbebcc989f73fe23e2402285a28 (patch)
tree930157a76bae9baa66ed91c67daa62f047f8db3d /unix/tclUnixPort.h
parent3bbe089a07471851d1352b8d2ac3a2f544c3d8bb (diff)
downloadtcl-d1e73c606588fdbebcc989f73fe23e2402285a28.zip
tcl-d1e73c606588fdbebcc989f73fe23e2402285a28.tar.gz
tcl-d1e73c606588fdbebcc989f73fe23e2402285a28.tar.bz2
revert [8abba84224], and make sure that every source file that uses Tcl_StatBuf has an "#include <sys/stat.h>" before including tcl.h
Diffstat (limited to 'unix/tclUnixPort.h')
-rw-r--r--unix/tclUnixPort.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/unix/tclUnixPort.h b/unix/tclUnixPort.h
index 32d14e1..4668707 100644
--- a/unix/tclUnixPort.h
+++ b/unix/tclUnixPort.h
@@ -116,9 +116,7 @@ typedef off_t Tcl_SeekOffset;
#ifdef HAVE_SYS_SELECT_H
# include <sys/select.h>
#endif
-#ifdef HAVE_SYS_STAT_H
-# include <sys/stat.h>
-#endif
+#include <sys/stat.h>
#if TIME_WITH_SYS_TIME
# include <sys/time.h>
# include <time.h>