Browse Source

Fix regex support to be compatible with 4.2 BSD regex library. This is
the last bit that was needed to get util-linux to compile.

Eric Andersen 24 years ago
parent
commit
2f1ef19e4b
1 changed files with 1 additions and 0 deletions
  1. 1 0
      libc/misc/regex/regex.c

+ 1 - 0
libc/misc/regex/regex.c

@@ -21,6 +21,7 @@
 
 
 /* To exclude some unwanted junk.... */
 /* To exclude some unwanted junk.... */
 #undef _LIBC
 #undef _LIBC
+#define _REGEX_RE_COMP
 
 
 /* AIX requires this to be the first thing in the file. */
 /* AIX requires this to be the first thing in the file. */
 #if defined _AIX && !defined REGEX_MALLOC
 #if defined _AIX && !defined REGEX_MALLOC