summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2019-01-25 15:39:28 +0100
committerJeroen Roovers <jer@gentoo.org>2019-01-25 15:39:38 +0100
commit0390c17140e8122552113b7da35220788de78b47 (patch)
tree28e3e7591c9a2b6bf2984578d1b08dbe06e1cf7d /net-analyzer/nmap
parentnet-p2p/qbittorrent: dep on libtorrent-rasterbar-1.1 and revbump-move (diff)
downloadgentoo-0390c17140e8122552113b7da35220788de78b47.tar.gz
gentoo-0390c17140e8122552113b7da35220788de78b47.tar.bz2
gentoo-0390c17140e8122552113b7da35220788de78b47.zip
net-analyzer/nmap: include more time.h
Fixes: https://bugs.gentoo.org/676206 Package-Manager: Portage-2.3.58, Repoman-2.3.12 Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'net-analyzer/nmap')
-rw-r--r--net-analyzer/nmap/files/nmap-7.70-time.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/net-analyzer/nmap/files/nmap-7.70-time.patch b/net-analyzer/nmap/files/nmap-7.70-time.patch
index 6d12ea8f96fe..4b97bdf49049 100644
--- a/net-analyzer/nmap/files/nmap-7.70-time.patch
+++ b/net-analyzer/nmap/files/nmap-7.70-time.patch
@@ -8,3 +8,33 @@
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>