Include <pcre.h> for an unbundled build.

This commit is contained in:
zosrothko
2015-11-17 18:45:44 +01:00
parent abcbb43abb
commit 94bb16fdee

View File

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