summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Mac/Modules/macmodule.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/Mac/Modules/macmodule.c b/Mac/Modules/macmodule.c
index b284912..c2224f0 100644
--- a/Mac/Modules/macmodule.c
+++ b/Mac/Modules/macmodule.c
@@ -68,12 +68,9 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#undef sync
int sync(void);
#else
-#ifdef x__MWERKS__
-#include <unix.h>
-#else
+#define mode_t int
#include <fcntl.h>
#endif
-#endif
/* Optional routines, for some compiler/runtime combinations */
#if defined(USE_GUSI) || !defined(__MWERKS__)