summaryrefslogtreecommitdiff
path: root/libc/misc
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-05-26 00:01:58 +0000
committerEric Andersen <andersen@codepoet.org>2001-05-26 00:01:58 +0000
commit2f1ef19e4be5ce212dc6b0c8cd2c43876fa304d8 (patch)
treefd1ed4a60124e66586a4c6b43427d2cb622e7d26 /libc/misc
parent9799b984482f7ce54d7f627561539116eb9931ca (diff)
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.
Diffstat (limited to 'libc/misc')
-rw-r--r--libc/misc/regex/regex.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/misc/regex/regex.c b/libc/misc/regex/regex.c
index 19e3e0cbb..d14595dfd 100644
--- a/libc/misc/regex/regex.c
+++ b/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