浏览代码

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 年之前
父节点
当前提交
2f1ef19e4b
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      libc/misc/regex/regex.c

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

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