summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-01-18 14:44:45 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-01-18 14:44:45 (GMT)
commit581c5b94ab4c310a88bb6cc3259e65e96590cfdf (patch)
tree569e8ed67af59af41ff704739aed6d223e0cf5ab /generic
parenta6461e6b0d7514a5a99aa9d0935d32a0c6ac75c2 (diff)
parent6b531a4b27fc7ceaccac59a4af913056f26c25cf (diff)
downloadtcl-581c5b94ab4c310a88bb6cc3259e65e96590cfdf.zip
tcl-581c5b94ab4c310a88bb6cc3259e65e96590cfdf.tar.gz
tcl-581c5b94ab4c310a88bb6cc3259e65e96590cfdf.tar.bz2
[Bug 3598300]: unix: tcl.h does not include sys/stat.h.
(with an exception for OSX, for now)
Diffstat (limited to 'generic')
-rw-r--r--generic/tclPort.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/generic/tclPort.h b/generic/tclPort.h
index 7021b8d..198ee76 100644
--- a/generic/tclPort.h
+++ b/generic/tclPort.h
@@ -19,9 +19,11 @@
#endif
#if defined(_WIN32)
# include "tclWinPort.h"
+#elif !defined(MAC_OSX_TCL)
+# include "tclUnixPort.h"
#endif
#include "tcl.h"
-#if !defined(_WIN32)
+#if defined(MAC_OSX_TCL)
# include "tclUnixPort.h"
#endif