X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1f0db2d9942edbea6a3435cfd1a9b120138e1d14..e8617760b089b3dd31e4d77ce493267a82fc1003:/src/regex/regexec.c?ds=inline

diff --git a/src/regex/regexec.c b/src/regex/regexec.c
index 2128927b90..d64bc28fcb 100644
--- a/src/regex/regexec.c
+++ b/src/regex/regexec.c
@@ -5,17 +5,25 @@
  * 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>
 #include <limits.h>
 #include <ctype.h>
-#include <regex.h>
+#include "regex.h"
 
 #include "utils.h"
 #include "regex2.h"
 
+#ifdef REDEBUG
+static int nope = 0;          /* for use in asserts; shuts lint up */
+#endif
+
 /* macros for manipulating states, small version */
 #define	states	unsigned
 #define	states1	unsigned	/* for later use in regexec() decision */