summaryrefslogtreecommitdiff
path: root/net-analyzer/nmap/files/nmap-7.70-time.patch
blob: 4b97bdf490499f4b4f1172579ca987dc651d3af5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
--- a/nmap_error.cc
+++ b/nmap_error.cc
@@ -135,6 +135,7 @@
 #include "xml.h"
 
 #include <errno.h>
+#include <time.h>
 
 extern NmapOps o;
 
--- a/nmap.cc
+++ b/nmap.cc
@@ -161,6 +161,7 @@
 #endif
 
 #include <fcntl.h>
+#include <time.h>
 
 #ifdef HAVE_PWD_H
 #include <pwd.h>
--- a/osscan2.cc
+++ b/osscan2.cc
@@ -147,6 +147,7 @@
 
 #include <list>
 #include <math.h>
+#include <time.h>
 
 extern NmapOps o;
 #ifdef WIN32
--- a/output.cc
+++ b/output.cc
@@ -153,6 +153,7 @@
 #include "libnetutil/netutil.h"
 
 #include <math.h>
+#include <time.h>
 
 #include <set>
 #include <vector>