diff --git a/CHANGELOG b/CHANGELOG index edff112bb..c046e3c3c 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,6 +1,11 @@ ChangeLog : =========== +2005/10/25 + - building with -DUSE_PCRE should include PCRE headers and not regex.h. At + least on Solaris, this caused the libc's regex primitives to be used instead + of PCRE, which caused trouble on group references. This is now fixed. + 2005/10/09 : 1.2.7rc (1.1.33rc) - second batch of socklen_t changes. - clean-ups from Cameron Simpson. diff --git a/haproxy.c b/haproxy.c index e362df5bb..723c15fbb 100644 --- a/haproxy.c +++ b/haproxy.c @@ -52,8 +52,15 @@ #include #include #include -#include #include + +#ifdef USE_PCRE +#include +#include +#else +#include +#endif + #if defined(TPROXY) && defined(NETFILTER) #include #endif