1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-15 20:29:03 +00:00

Additional header includes for time_t, gettimeofday, timeval, etc. See #1317, #1363

This commit is contained in:
dmiller
2019-05-22 15:27:13 +00:00
parent c661979637
commit ab79382f93
6 changed files with 36 additions and 10 deletions

View File

@@ -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;