summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-05-17 15:12:27 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-05-17 15:12:27 (GMT)
commit747454fc55e9245072dd7689c036322331e747f3 (patch)
treea267198015e697c27e556dc6bb91e8b8c203cf75
parent2e2a7f14b404980bdc7423407ddb866901ca14a5 (diff)
downloadtcl-747454fc55e9245072dd7689c036322331e747f3.zip
tcl-747454fc55e9245072dd7689c036322331e747f3.tar.gz
tcl-747454fc55e9245072dd7689c036322331e747f3.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