diff options
Diffstat (limited to 'util.h')
-rw-r--r-- | util.h | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -23,12 +23,17 @@ #include <fcntl.h> #include <fnmatch.h> -#include <regex.h> #include <stdbool.h> #include <stddef.h> #include <stdio.h> #include <sys/types.h> +#ifdef USE_ONIGURUMA + #include <onigposix.h> +#else + #include <regex.h> +#endif + // Some portability concerns #ifdef __has_feature |