diff options
author | data-man <dataman@tutanota.com> | 2022-01-24 07:34:59 +0500 |
---|---|---|
committer | data-man <dataman@tutanota.com> | 2022-01-24 07:34:59 +0500 |
commit | 475bc25800451c76d9a721fb35628693758a15e0 (patch) | |
tree | aa46e0fc0be368d98f1fc34853b70b1e6619eedb /parse.c | |
parent | 8199f5c1c599a39ba0a9c4ace0bacde95b4bb483 (diff) | |
download | bfs-475bc25800451c76d9a721fb35628693758a15e0.tar.xz |
Using Oniguruma library (optionally)
Diffstat (limited to 'parse.c')
-rw-r--r-- | parse.c | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -48,7 +48,6 @@ #include <grp.h> #include <limits.h> #include <pwd.h> -#include <regex.h> #include <stdarg.h> #include <stdbool.h> #include <stdio.h> @@ -60,6 +59,12 @@ #include <time.h> #include <unistd.h> +#ifdef USE_ONIGURUMA + #include <onigposix.h> +#else + #include <regex.h> +#endif + // Strings printed by -D tree for "fake" expressions static char *fake_and_arg = "-a"; static char *fake_false_arg = "-false"; |