summaryrefslogtreecommitdiffstats
path: root/Mac
diff options
context:
space:
mode:
Diffstat (limited to 'Mac')
-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>