From 0c637709ad3afa2151d2af0d4f6e7e3423974431 Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Wed, 14 Dec 1994 14:10:51 +0000 Subject: Ported to CodeWarrior --- Mac/Compat/getwd.c | 2 +- Mac/Include/macdefs.h | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) 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 #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 #endif +#ifdef __MWERKS__ +#include "errno_unix.h" +#endif #include #include -- cgit v0.12