summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-02-16 23:11:40 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-02-16 23:11:40 (GMT)
commitd03cd4b3e556ca2fee8075d28fec79a9a0adf659 (patch)
treef1dba03afe320f001e2db0f65a139a0fd974af32 /unix
parentf923fce7823d84ed61eb3dffe5e4e329b342d554 (diff)
parentee1a343bc1abcc96fe3fe99c22374f4225b1707d (diff)
downloadtcl-d03cd4b3e556ca2fee8075d28fec79a9a0adf659.zip
tcl-d03cd4b3e556ca2fee8075d28fec79a9a0adf659.tar.gz
tcl-d03cd4b3e556ca2fee8075d28fec79a9a0adf659.tar.bz2
[Bug 2233954] AIX: compile error
Diffstat (limited to 'unix')
-rw-r--r--unix/tclUnixPort.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/unix/tclUnixPort.h b/unix/tclUnixPort.h
index fd396f7..2666fb5 100644
--- a/unix/tclUnixPort.h
+++ b/unix/tclUnixPort.h
@@ -96,7 +96,9 @@ typedef off_t Tcl_SeekOffset;
#ifdef HAVE_SYS_SELECT_H
# include <sys/select.h>
#endif
-#include <sys/stat.h>
+#ifdef HAVE_SYS_STAT_H
+# include <sys/stat.h>
+#endif
#if TIME_WITH_SYS_TIME
# include <sys/time.h>
# include <time.h>