summaryrefslogtreecommitdiffstats
path: root/expr.h
diff options
context:
space:
mode:
Diffstat (limited to 'expr.h')
-rw-r--r--expr.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/expr.h b/expr.h
index c25d1ca..82df7bf 100644
--- a/expr.h
+++ b/expr.h
@@ -26,12 +26,17 @@
#include "exec.h"
#include "printf.h"
#include "stat.h"
-#include <regex.h>
#include <stdbool.h>
#include <stddef.h>
#include <sys/types.h>
#include <time.h>
+#ifdef USE_ONIGURUMA
+ #include <onigposix.h>
+#else
+ #include <regex.h>
+#endif
+
/**
* Possible types of numeric comparison.
*/