summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornijtmans@users.sourceforge.net <jan.nijtmans>2013-05-17 15:12:27 (GMT)
committernijtmans@users.sourceforge.net <jan.nijtmans>2013-05-17 15:12:27 (GMT)
commitc280feb836dfacefeb56dcaaffddd777404d297e (patch)
treea267198015e697c27e556dc6bb91e8b8c203cf75
parent99ecc9840c792663388111ce37a8e67f833d51d0 (diff)
downloadtcl-c280feb836dfacefeb56dcaaffddd777404d297e.zip
tcl-c280feb836dfacefeb56dcaaffddd777404d297e.tar.gz
tcl-c280feb836dfacefeb56dcaaffddd777404d297e.tar.bz2
<sys/stat.h> inclusion is only needed when compiling for Win32, don't bother for other platforms.
-rw-r--r--generic/tclBasic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclBasic.c b/generic/tclBasic.c
index 757f9ca..6e457c0 100644
--- a/generic/tclBasic.c
+++ b/generic/tclBasic.c
@@ -17,9 +17,9 @@
#if defined(_WIN32) && !defined(_WIN64)
# define _USE_32BIT_TIME_T
+# include <sys/stat.h>
#endif
-#include <sys/stat.h>
#include "tclInt.h"
#include "tclCompile.h"
#ifndef TCL_GENERIC_ONLY