mirror of
https://github.com/nmap/nmap.git
synced 2026-08-28 12:31:12 +00:00
Remove unneeded includes (protoent/servent superseded)
This commit is contained in:
parent
30c045621c
commit
f7ff89b744
2 changed files with 0 additions and 10 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue