summaryrefslogtreecommitdiffstats
path: root/generic/tclIOUtil.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-02-16 23:09:59 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-02-16 23:09:59 (GMT)
commit52c4fef3cfd97fa473a7cc98397cde9c6dde64a9 (patch)
treeb48118a081b346ed56112578a34c8f800407cd94 /generic/tclIOUtil.c
parent5ab653feb0f92621dfa72b70722477353ae22c75 (diff)
downloadtcl-52c4fef3cfd97fa473a7cc98397cde9c6dde64a9.zip
tcl-52c4fef3cfd97fa473a7cc98397cde9c6dde64a9.tar.gz
tcl-52c4fef3cfd97fa473a7cc98397cde9c6dde64a9.tar.bz2
[Bug 2233954] AIX: compile error
Diffstat (limited to 'generic/tclIOUtil.c')
-rw-r--r--generic/tclIOUtil.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/generic/tclIOUtil.c b/generic/tclIOUtil.c
index fb8b74f..b8c76c0 100644
--- a/generic/tclIOUtil.c
+++ b/generic/tclIOUtil.c
@@ -18,6 +18,9 @@
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*/
+#ifdef HAVE_SYS_STAT_H
+# include <sys/stat.h>
+#endif
#include "tclInt.h"
#ifdef __WIN32__
# include "tclWinInt.h"