mirror of
https://github.com/nmap/nmap.git
synced 2026-05-13 08:46:45 +00:00
Revert r32528, was not tested on Windows
This commit is contained in:
parent
8ab92b3214
commit
866db7eea3
34 changed files with 178 additions and 32 deletions
30
utils.h
30
utils.h
|
|
@ -133,12 +133,38 @@
|
|||
#include <errno.h>
|
||||
#include <ctype.h>
|
||||
#include "nmap.h"
|
||||
#ifdef WIN32
|
||||
#include "mswin32\winclude.h"
|
||||
#else
|
||||
#include <sys/types.h>
|
||||
|
||||
#ifndef WIN32
|
||||
#include <sys/mman.h>
|
||||
#if HAVE_NETINET_IN_H
|
||||
#include <netinet/in.h>
|
||||
#endif
|
||||
|
||||
#include <sys/mman.h>
|
||||
#include "nmap_config.h"
|
||||
#endif
|
||||
|
||||
#if HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
#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 "nbase.h"
|
||||
|
||||
#include "nmap_error.h"
|
||||
#include "global_structures.h"
|
||||
|
||||
/* Arithmatic difference modulo 2^32 */
|
||||
#ifndef MOD_DIFF
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue