* 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.
This commit is contained in:
willy tarreau 2005-12-18 01:31:43 +01:00
parent b952e1db84
commit 77bc854117
2 changed files with 13 additions and 1 deletions

View File

@ -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.

View File

@ -52,8 +52,15 @@
#include <stdarg.h>
#include <sys/resource.h>
#include <time.h>
#include <regex.h>
#include <syslog.h>
#ifdef USE_PCRE
#include <pcre.h>
#include <pcreposix.h>
#else
#include <regex.h>
#endif
#if defined(TPROXY) && defined(NETFILTER)
#include <linux/netfilter_ipv4.h>
#endif