mirror of
https://github.com/nmap/nmap.git
synced 2025-12-06 04:31:29 +00:00
This commit is contained in:
1
Target.h
1
Target.h
@@ -151,6 +151,7 @@ class FingerPrintResults;
|
||||
|
||||
#include <list>
|
||||
#include <string>
|
||||
#include <time.h> /* time_t */
|
||||
|
||||
#ifndef INET6_ADDRSTRLEN
|
||||
#define INET6_ADDRSTRLEN 46
|
||||
|
||||
@@ -135,6 +135,16 @@
|
||||
#include "xml.h"
|
||||
|
||||
#include <errno.h>
|
||||
#if TIME_WITH_SYS_TIME
|
||||
# include <sys/time.h>
|
||||
# include <time.h>
|
||||
#else
|
||||
# if HAVE_SYS_TIME_H
|
||||
# include <sys/time.h>
|
||||
# else
|
||||
# include <time.h>
|
||||
# endif
|
||||
#endif
|
||||
|
||||
extern NmapOps o;
|
||||
|
||||
|
||||
11
nmap_tty.cc
11
nmap_tty.cc
@@ -148,6 +148,17 @@
|
||||
#endif
|
||||
#include <stdlib.h>
|
||||
|
||||
#if TIME_WITH_SYS_TIME
|
||||
# include <sys/time.h>
|
||||
# include <time.h>
|
||||
#else
|
||||
# if HAVE_SYS_TIME_H
|
||||
# include <sys/time.h>
|
||||
# else
|
||||
# include <time.h>
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#include "nmap_tty.h"
|
||||
#include "NmapOps.h"
|
||||
|
||||
|
||||
@@ -158,6 +158,8 @@
|
||||
#define X509_get0_notAfter X509_get_notAfter
|
||||
#endif
|
||||
|
||||
/* struct tm */
|
||||
#include <time.h>
|
||||
|
||||
#include "nse_lua.h"
|
||||
|
||||
|
||||
11
osscan.cc
11
osscan.cc
@@ -139,16 +139,7 @@
|
||||
|
||||
#include <errno.h>
|
||||
#include <stdarg.h>
|
||||
#if TIME_WITH_SYS_TIME
|
||||
# include <sys/time.h>
|
||||
# include <time.h>
|
||||
#else
|
||||
# if HAVE_SYS_TIME_H
|
||||
# include <sys/time.h>
|
||||
# else
|
||||
# include <time.h>
|
||||
# endif
|
||||
#endif
|
||||
#include <time.h>
|
||||
|
||||
#include <algorithm>
|
||||
#include <list>
|
||||
|
||||
11
output.h
11
output.h
@@ -180,6 +180,17 @@ class Target;
|
||||
#include <stdarg.h>
|
||||
#include <string>
|
||||
|
||||
#if TIME_WITH_SYS_TIME
|
||||
# include <sys/time.h>
|
||||
# include <time.h>
|
||||
#else
|
||||
# if HAVE_SYS_TIME_H
|
||||
# include <sys/time.h>
|
||||
# else
|
||||
# include <time.h>
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#ifdef WIN32
|
||||
/* Show a fatal error explaining that an interface is not Ethernet and won't
|
||||
work on Windows. Do nothing if --send-ip (PACKET_SEND_IP_STRONG) was used. */
|
||||
|
||||
Reference in New Issue
Block a user