X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/770dba7a7b7a2886a908ae3317dbb11712aaa723..ad20b0b300846930b222eaa16e40235645d66d06:/src/regex/regexec.c

diff --git a/src/regex/regexec.c b/src/regex/regexec.c
index 7e314950e7..d64bc28fcb 100644
--- a/src/regex/regexec.c
+++ b/src/regex/regexec.c
@@ -5,7 +5,11 @@
  * macros that code uses.  This lets the same code operate on two different
  * representations for state sets.
  */
+#if defined(__MWERKS__) && !defined(__MACH__)
+typedef long off_t ;
+#else
 #include <sys/types.h>
+#endif
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>