From 80f8325c649762c3a778653875c5dd7d26c8dfa5 Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Sun, 17 Apr 2016 17:19:53 -0500 Subject: [PATCH] lib/krb5: krb5_locl.h do not replicate roken.h Move roken.h to the top of the header after config.h and remove the includes that are duplicated by roken.h. Change-Id: I33e29736519177f17c36e5c5948d7022011ab2b2 --- lib/krb5/krb5_locl.h | 49 +------------------------------------------- 1 file changed, 1 insertion(+), 48 deletions(-) diff --git a/lib/krb5/krb5_locl.h b/lib/krb5/krb5_locl.h index 6be3a6f16..6fd36d1b5 100644 --- a/lib/krb5/krb5_locl.h +++ b/lib/krb5/krb5_locl.h @@ -39,13 +39,9 @@ #define __KRB5_LOCL_H__ #include +#include -#include #include -#include -#include -#include -#include #ifdef HAVE_POLL_H #include @@ -59,15 +55,6 @@ #ifdef HAVE_SYS_MMAN_H #include #endif -#ifdef HAVE_STDINT_H -#include -#endif -#ifdef HAVE_UNISTD_H -#include -#endif -#ifdef HAVE_FCNTL_H -#include -#endif #if defined(HAVE_SYS_IOCTL_H) && SunOS != 40 #include @@ -79,44 +66,11 @@ #include #endif -#ifdef HAVE_SYS_PARAM_H -#include -#endif -#include -#ifdef HAVE_SYS_TIME_H -#include -#endif #ifdef HAVE_SYS_SELECT_H #include #endif -#ifdef HAVE_SYS_SOCKET_H -#include -#endif -#ifdef HAVE_NETINET_IN_H -#include -#endif -#ifdef HAVE_NETINET_IN6_H -#include -#endif -#ifdef HAVE_NETINET6_IN6_H -#include -#endif -#ifdef HAVE_NETDB_H -#include -#endif #ifdef _AIX -struct ether_addr; struct mbuf; -struct sockaddr_dl; -#endif -#ifdef HAVE_ARPA_INET_H -#include -#endif -#ifdef HAVE_ARPA_NAMESER_H -#include -#endif -#ifdef HAVE_SYS_UIO_H -#include #endif #ifdef HAVE_SYS_FILIO_H #include @@ -151,7 +105,6 @@ struct sockaddr_dl; #include #endif -#include #include #include