aboutsummaryrefslogtreecommitdiff
path: root/net/nmap/patches/030-libcxx.patch
blob: a76f5521167ce9931538761eefee26179e39aff2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- a/nmap_error.cc
+++ b/nmap_error.cc
@@ -66,6 +66,7 @@
 #include "NmapOps.h"
 #include "xml.h"
 
+#include <ctime>
 #include <errno.h>
 #if TIME_WITH_SYS_TIME
 # include <sys/time.h>
--- a/nping/EchoServer.cc
+++ b/nping/EchoServer.cc
@@ -69,6 +69,7 @@
 #include "NpingOps.h"
 #include "ProbeMode.h"
 #include <signal.h>
+#include <ctime>
 
 extern NpingOps o;
 extern EchoServer es;