summaryrefslogtreecommitdiffstats
path: root/generic/tclIOUtil.c
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)
commit6fe554cad0f2191435d30324f3e2b0caf121f891 (patch)
tree930157a76bae9baa66ed91c67daa62f047f8db3d /generic/tclIOUtil.c
parent3db744b60506ba65731f996d7e3dc5224d232bc9 (diff)
downloadtcl-6fe554cad0f2191435d30324f3e2b0caf121f891.zip
tcl-6fe554cad0f2191435d30324f3e2b0caf121f891.tar.gz
tcl-6fe554cad0f2191435d30324f3e2b0caf121f891.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 'generic/tclIOUtil.c')
-rw-r--r--generic/tclIOUtil.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/generic/tclIOUtil.c b/generic/tclIOUtil.c
index f90bf0d..488cbb8 100644
--- a/generic/tclIOUtil.c
+++ b/generic/tclIOUtil.c
@@ -18,9 +18,7 @@
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*/
-#if defined(HAVE_SYS_STAT_H) && !defined _WIN32
-# include <sys/stat.h>
-#endif
+#include <sys/stat.h>
#include "tclInt.h"
#ifdef __WIN32__
# include "tclWinInt.h"