1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-06 12:41:29 +00:00

Remove unneeded includes from util.h

This commit is contained in:
dmiller
2015-07-01 03:35:08 +00:00
parent b7773e6403
commit bc533e75cf

30
utils.h
View File

@@ -125,36 +125,8 @@
#ifndef UTILS_H
#define UTILS_H
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include <ctype.h>
#ifdef WIN32
#include "mswin32\winclude.h"
#else
#include <sys/types.h>
#if HAVE_NETINET_IN_H
#include <netinet/in.h>
#endif
#ifndef WIN32
#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"