aboutsummaryrefslogtreecommitdiff
path: root/regexp.c
diff options
context:
space:
mode:
Diffstat (limited to 'regexp.c')
-rw-r--r--regexp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/regexp.c b/regexp.c
index 02b1fe505..b264ffb6f 100644
--- a/regexp.c
+++ b/regexp.c
@@ -98,7 +98,9 @@ extern int replace_match(char *haystack, char *needle, char *newNeedle, int igno
static char *previous; /* the previous regexp, used when null regexp is given */
+#if defined BB_SED
static char *previous1; /* a copy of the text from the previous substitution for regsub()*/
+#endif
/* These are used to classify or recognize meta-characters */