fix inclusion of <pcre> when unbundling

Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
This commit is contained in:
FrancisANDRE 2015-11-10 15:27:13 +01:00
parent 5fecbc9973
commit 41a0db4c41

View File

@ -27,17 +27,19 @@
#include <vector>
#if defined(POCO_UNBUNDLED)
#include <pcre.h>
#else
//
// Copy these definitions from pcre.h
// to avoid pulling in the entire header file
//
extern "C"
{
struct real_pcre8_or_16; /* declaration; the definition is private */
typedef struct real_pcre8_or_16 pcre;
struct pcre_extra;
}
#endif
namespace Poco {