From f7ff89b7447ec39595f86f9a1e8be0759473e219 Mon Sep 17 00:00:00 2001 From: dmiller Date: Thu, 15 Sep 2022 16:05:54 +0000 Subject: [PATCH] Remove unneeded includes (protoent/servent superseded) --- protocols.h | 4 ---- services.h | 6 ------ 2 files changed, 10 deletions(-) diff --git a/protocols.h b/protocols.h index 9ecee451d..3f504456c 100644 --- a/protocols.h +++ b/protocols.h @@ -67,10 +67,6 @@ #include "nbase.h" -#if HAVE_NETDB_H -#include -#endif - #ifndef IPPROTO_SCTP #include "libnetutil/netutil.h" #endif diff --git a/services.h b/services.h index 794b0314a..f8ad29ae6 100644 --- a/services.h +++ b/services.h @@ -66,14 +66,8 @@ #ifndef SERVICES_H #define SERVICES_H -#ifndef WIN32 -#include -#endif - #include "nbase.h" -#define SERVICE_TABLE_SIZE 1024 - struct nservent { const char *s_name; const char *s_proto;