summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1994-12-14 14:10:51 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1994-12-14 14:10:51 (GMT)
commit0c637709ad3afa2151d2af0d4f6e7e3423974431 (patch)
treed59b29ae7ff3086c3832d85de8681010ebffe4a1
parentf93c72a4b0bab30aac779aa3e957e9143764bda2 (diff)
downloadcpython-0c637709ad3afa2151d2af0d4f6e7e3423974431.zip
cpython-0c637709ad3afa2151d2af0d4f6e7e3423974431.tar.gz
cpython-0c637709ad3afa2151d2af0d4f6e7e3423974431.tar.bz2
Ported to CodeWarrior
-rw-r--r--Mac/Compat/getwd.c2
-rw-r--r--Mac/Include/macdefs.h3
2 files changed, 4 insertions, 1 deletions
diff --git a/Mac/Compat/getwd.c b/Mac/Compat/getwd.c
index a783ff6..e9a5455 100644
--- a/Mac/Compat/getwd.c
+++ b/Mac/Compat/getwd.c
@@ -28,7 +28,7 @@
*/
#include "macdefs.h"
-#ifdef MPW
+#if defined(MPW) || defined(__MWERKS__)
#include <Strings.h>
#endif
diff --git a/Mac/Include/macdefs.h b/Mac/Include/macdefs.h
index c1e8a6e..6a5682f 100644
--- a/Mac/Include/macdefs.h
+++ b/Mac/Include/macdefs.h
@@ -11,6 +11,9 @@
#include <pascal.h>
#endif
+#ifdef __MWERKS__
+#include "errno_unix.h"
+#endif
#include <errno.h>
#include <string.h>