1
0
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:
dmiller
2022-09-15 16:05:54 +00:00
parent 30c045621c
commit f7ff89b744
2 changed files with 0 additions and 10 deletions

View File

@@ -67,10 +67,6 @@
#include "nbase.h"
#if HAVE_NETDB_H
#include <netdb.h>
#endif
#ifndef IPPROTO_SCTP
#include "libnetutil/netutil.h"
#endif

View File

@@ -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;