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)
commit63fe76b6b89557c393f4e3eefa37ecf11a4d64bc (patch)
tree569e8ed67af59af41ff704739aed6d223e0cf5ab /generic
parent0c7be9daeb83147f81ecd891b80398293c36e92a (diff)
parentf50af0e8c33d29a694f03efedfc7bf1ae18b3e16 (diff)
downloadtcl-63fe76b6b89557c393f4e3eefa37ecf11a4d64bc.zip
tcl-63fe76b6b89557c393f4e3eefa37ecf11a4d64bc.tar.gz
tcl-63fe76b6b89557c393f4e3eefa37ecf11a4d64bc.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