From 5e7b09d6c49b06755ada28f7e1b7190354d3d01b Mon Sep 17 00:00:00 2001 From: fyodor Date: Wed, 28 Nov 2007 18:46:17 +0000 Subject: [PATCH] adjust pcre/pcre.h fix so it actually works. needs to be below a header which includes config.h --- CHANGELOG | 4 ++++ nse_pcrelib.cc | 7 ++++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index a645a5449..3e9c91fa7 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,4 +1,8 @@ # Nmap Changelog ($Id$); -*-text-*- + +o Compatibility with systems that have the pcre.h header file in its + own pcre directory should now be fixed for real. [Fyodor] + 4.23RC3 o Zenmap now has a man page! It isn't very long yet, but covers the diff --git a/nse_pcrelib.cc b/nse_pcrelib.cc index 1e42f6a87..0e4894503 100644 --- a/nse_pcrelib.cc +++ b/nse_pcrelib.cc @@ -13,15 +13,16 @@ extern "C" { } #include + +#include "nbase.h" +#include "nmap_error.h" + #ifdef HAVE_PCRE_PCRE_H # include #else # include #endif -#include "nbase.h" -#include "nmap_error.h" - #include "nse_pcrelib.h" static void L_lua_error(lua_State *L, const char *message)