aboutsummaryrefslogtreecommitdiff
path: root/lib/xregcomp.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/xregcomp.h')
-rw-r--r--lib/xregcomp.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/xregcomp.h b/lib/xregcomp.h
new file mode 100644
index 00000000..fa929fa3
--- /dev/null
+++ b/lib/xregcomp.h
@@ -0,0 +1,6 @@
+/* This is a separate file so libc doesn't always need regex support. */
+
+#include <sys/types.h>
+#include <regex.h>
+
+void xregcomp(regex_t *preg, char *rexec, int cflags);