--- nmap-6.25.orig/output.cc 2012-11-29 04:19:52.000000000 +0100 +++ nmap-6.25/output.cc 2013-07-12 14:06:38.000000000 +0200 @@ -2613,6 +2613,7 @@ void printdatafilepaths() { } } +#ifndef NOLUA /*This is a helper function to determine the ordering of the script results based on their id */ bool comparescriptids(ScriptResult first, ScriptResult second){ @@ -2625,5 +2626,6 @@ bool comparescriptids(ScriptResult first else return false; } +#endif