aboutsummaryrefslogtreecommitdiffstats
path: root/feature
diff options
context:
space:
mode:
authorSteve Slaven <bpk@hoopajoo.net>2019-11-05 04:52:27 (GMT)
committerSteve Slaven <bpk@hoopajoo.net>2019-11-05 04:52:27 (GMT)
commitbb301bfb0fec3d5e229367aca74cfe422c23f62c (patch)
tree37372786c995bcca846fea5be6e7986d0fa093de /feature
parentfe6a1869fe48b00325860380c182019f62096aaf (diff)
downloadpowwow-bb301bfb0fec3d5e229367aca74cfe422c23f62c.zip
powwow-bb301bfb0fec3d5e229367aca74cfe422c23f62c.tar.gz
powwow-bb301bfb0fec3d5e229367aca74cfe422c23f62c.tar.bz2
Move configured regex lib in to a common header
Diffstat (limited to 'feature')
-rw-r--r--feature/regex.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/feature/regex.h b/feature/regex.h
new file mode 100644
index 0000000..d630b99
--- /dev/null
+++ b/feature/regex.h
@@ -0,0 +1,11 @@
+#ifndef _FEATURE_REGEX_H_
+#define _FEATURE_REGEX_H_
+
+#ifdef USE_REGEXP_PCREPOSIX
+# include <pcreposix.h>
+#elif defined(USE_REGEXP)
+# include <sys/types.h>
+# include <regex.h>
+#endif
+
+#endif /* _FEATURE_REGEX_H_ */