From 65309b5c20774ab00c2e1c347976c52601dd2e75 Mon Sep 17 00:00:00 2001 From: fyodor Date: Sun, 10 Nov 2013 02:04:17 +0000 Subject: [PATCH] Fixed compilation when --without-liblua is specified --- CHANGELOG | 3 +++ ncat/ncat_posix.c | 3 +++ 2 files changed, 6 insertions(+) diff --git a/CHANGELOG b/CHANGELOG index 67361cb79..14f8ad466 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,5 +1,8 @@ # Nmap Changelog ($Id$); -*-text-*- +o [Ncat] Fixed compilation when --without-liblua is specified in + configure (an #include needed an ifdef guard). [Quentin Glidic] + o [NSE] Add http-server-header script to grab the Server header as a last-ditch effort to get a software version. This can't be done as a softmatch because of the need to match non-HTTP services that obey some HTTP requests. [Daniel diff --git a/ncat/ncat_posix.c b/ncat/ncat_posix.c index 44c6f5254..e9e48d057 100644 --- a/ncat/ncat_posix.c +++ b/ncat/ncat_posix.c @@ -122,7 +122,10 @@ /* $Id$ */ #include "ncat.h" + +#ifdef HAVE_LUA #include "ncat_lua.h" +#endif char **cmdline_split(const char *cmdexec);