commit: 0390c17140e8122552113b7da35220788de78b47 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> AuthorDate: Fri Jan 25 14:39:28 2019 +0000 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> CommitDate: Fri Jan 25 14:39:38 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0390c171
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 <AT> gentoo.org> net-analyzer/nmap/files/nmap-7.70-time.patch | 30 ++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/net-analyzer/nmap/files/nmap-7.70-time.patch b/net-analyzer/nmap/files/nmap-7.70-time.patch index 6d12ea8f96f..4b97bdf4904 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>
