aboutsummaryrefslogtreecommitdiffstats
path: root/cmd2.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd2.c')
-rw-r--r--cmd2.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/cmd2.c b/cmd2.c
index 81275b6..2d8ab53 100644
--- a/cmd2.c
+++ b/cmd2.c
@@ -26,7 +26,9 @@
#include <unistd.h>
#include <errno.h>
-#ifdef USE_REGEXP
+#ifdef USE_PCREPOSIX
+# include <pcreposix.h>
+#elif defined(USE_REGEXP)
# include <regex.h>
#endif