X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b6eefb739d1881866662cdcb591a089e5cd7c940..f9007c324c9b4f6288156dcf0b865090ee0c0c38:/src/regex/regerror.c?ds=sidebyside

diff --git a/src/regex/regerror.c b/src/regex/regerror.c
index 1ec073997d..b4c839adf5 100644
--- a/src/regex/regerror.c
+++ b/src/regex/regerror.c
@@ -1,10 +1,14 @@
+#if defined(__MWERKS__) && !defined(__MACH__)
+typedef long off_t ;
+#else
 #include <sys/types.h>
+#endif
 #include <stdio.h>
 #include <string.h>
 #include <ctype.h>
 #include <limits.h>
 #include <stdlib.h>
-#include <regex.h>
+#include "regex.h"
 
 #include "utils.h"
 #include "regerror.ih"