Closed Ansuel closed 1 year ago
pcre.h is a PCRE header and is not exposed by PCRE2 library causing compilation error as the header is not found.
Don't include pcre.h if nginx is compiled with PCRE2 support enabled.
Fixes: cb83e33e2657 ("feature: support pcre2")
@swananan doing it. Also I force pushed as I added !defined to make this more clear.
pcre.h is a PCRE header and is not exposed by PCRE2 library causing compilation error as the header is not found.
Don't include pcre.h if nginx is compiled with PCRE2 support enabled.
Fixes: cb83e33e2657 ("feature: support pcre2")