summaryrefslogtreecommitdiff
path: root/package/nmap/patches/patch-output_cc
blob: f43036e117c0505c21ffb356154bc4c28adfa1f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- 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