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"