#include <string.h>
 #include <limits.h>
 #include <ctype.h>
-#include <regex.h>
+#include "regex.h"
 
 #include "utils.h"
 #include "regex2.h"
 
-static int nope = 0;           /* for use in asserts; shuts lint up */
+#ifdef REDEBUG
+static int nope = 0;          /* for use in asserts; shuts lint up */
+#endif
 
 /* macros for manipulating states, small version */
 #define        states  unsigned