summaryrefslogtreecommitdiffstats
path: root/generic/tclIOUtil.c
diff options
context:
space:
mode:
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"