--- a/src/regex_parser.h Tue Oct 10 20:34:51 2023 +0200 +++ b/src/regex_parser.h Sun Nov 10 13:09:54 2024 +0100 @@ -31,8 +31,13 @@ #include <sys/types.h> #include <stdbool.h> +#include "string_list.h" + +#ifdef _MSC_VER +#include "pcreposix.h" +#else #include <regex.h> -#include "string_list.h" +#endif typedef struct { string_list_t* pattern_list; /* even entries: start ; odd entries: end */