From 5e7f606ea5295e94076fb0fa0072b62d34dba874 Mon Sep 17 00:00:00 2001 From: fyodor Date: Tue, 27 Nov 2007 19:33:08 +0000 Subject: [PATCH] better detection and support for systems which use pcre/pcre.h rather than just pcre.h. Bug reported by Lionel Cons --- nse_pcrelib.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/nse_pcrelib.cc b/nse_pcrelib.cc index f447a7a2a..1e42f6a87 100644 --- a/nse_pcrelib.cc +++ b/nse_pcrelib.cc @@ -13,7 +13,11 @@ extern "C" { } #include -#include +#ifdef HAVE_PCRE_PCRE_H +# include +#else +# include +#endif #include "nbase.h" #include "nmap_error.h"