diff options
Diffstat (limited to 'lib/common/ExcludeList.cpp')
-rw-r--r-- | lib/common/ExcludeList.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/common/ExcludeList.cpp b/lib/common/ExcludeList.cpp index e24246c8..a8d07dcc 100644 --- a/lib/common/ExcludeList.cpp +++ b/lib/common/ExcludeList.cpp @@ -9,7 +9,10 @@ #include "Box.h" -#ifdef HAVE_REGEX_H +#ifdef HAVE_PCREPOSIX_H + #include <pcreposix.h> + #define EXCLUDELIST_IMPLEMENTATION_REGEX_T_DEFINED +#elif defined HAVE_REGEX_H #include <regex.h> #define EXCLUDELIST_IMPLEMENTATION_REGEX_T_DEFINED #endif |