From 1753ae65dfb3d8a9212e36b9e0ddf8a0109d7553 Mon Sep 17 00:00:00 2001 From: dmiller Date: Wed, 4 Oct 2017 18:27:31 +0000 Subject: [PATCH] Fix compilation when PCRE is in a subdir. Fixes #909 --- service_scan.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/service_scan.h b/service_scan.h index 31470b579..0bddeecd1 100644 --- a/service_scan.h +++ b/service_scan.h @@ -139,6 +139,11 @@ #include +#ifdef HAVE_CONFIG_H +/* Needed for HAVE_PCRE_PCRE_H below */ +#include "nmap_config.h" +#endif /* HAVE_CONFIG_H */ + #ifdef HAVE_PCRE_PCRE_H # include #else