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