mirror of
https://github.com/nmap/nmap.git
synced 2025-12-17 21:19:01 +00:00
Remove unneeded includes (protoent/servent superseded)
This commit is contained in:
@@ -67,10 +67,6 @@
|
|||||||
|
|
||||||
#include "nbase.h"
|
#include "nbase.h"
|
||||||
|
|
||||||
#if HAVE_NETDB_H
|
|
||||||
#include <netdb.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef IPPROTO_SCTP
|
#ifndef IPPROTO_SCTP
|
||||||
#include "libnetutil/netutil.h"
|
#include "libnetutil/netutil.h"
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -66,14 +66,8 @@
|
|||||||
#ifndef SERVICES_H
|
#ifndef SERVICES_H
|
||||||
#define SERVICES_H
|
#define SERVICES_H
|
||||||
|
|
||||||
#ifndef WIN32
|
|
||||||
#include <netdb.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "nbase.h"
|
#include "nbase.h"
|
||||||
|
|
||||||
#define SERVICE_TABLE_SIZE 1024
|
|
||||||
|
|
||||||
struct nservent {
|
struct nservent {
|
||||||
const char *s_name;
|
const char *s_name;
|
||||||
const char *s_proto;
|
const char *s_proto;
|
||||||
|
|||||||
Reference in New Issue
Block a user