summaryrefslogtreecommitdiff
path: root/tar/bsdtar.h
diff options
context:
space:
mode:
Diffstat (limited to 'tar/bsdtar.h')
-rw-r--r--tar/bsdtar.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tar/bsdtar.h b/tar/bsdtar.h
index a03d05ad..637e1b9d 100644
--- a/tar/bsdtar.h
+++ b/tar/bsdtar.h
@@ -173,7 +173,7 @@ void tar_mode_x(struct bsdtar *bsdtar);
void usage(void);
int yes(const char *fmt, ...);
-#if HAVE_REGEX_H
+#if defined(HAVE_REGEX_H) || defined(HAVE_PCREPOSIX_H)
void add_substitution(struct bsdtar *, const char *);
int apply_substitution(struct bsdtar *, const char *, char **, int, int);
void cleanup_substitution(struct bsdtar *);