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