summaryrefslogtreecommitdiff
path: root/archivers/libarchive
diff options
context:
space:
mode:
Diffstat (limited to 'archivers/libarchive')
-rw-r--r--archivers/libarchive/files/tar/subst.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/archivers/libarchive/files/tar/subst.c b/archivers/libarchive/files/tar/subst.c
index 9fcd4d95fcf..ea96d156b7a 100644
--- a/archivers/libarchive/files/tar/subst.c
+++ b/archivers/libarchive/files/tar/subst.c
@@ -34,6 +34,10 @@ __FBSDID("$FreeBSD$");
#include <stdlib.h>
#include <string.h>
+#ifndef REG_BASIC
+#define REG_BASIC 0
+#endif
+
struct subst_rule {
struct subst_rule *next;
regex_t re;