From: Theodore Tso Date: Fri, 24 Mar 1995 23:06:07 +0000 (+0000) Subject: locate_kdc.c: Don't include sys/socket.h, netdb.h, netinet/in.h, X-Git-Tag: krb5-1.0-beta5~471 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9c9870b58d7cdce2d43780d9b4c52ea45b8ad8e3;p=krb5.git locate_kdc.c: Don't include sys/socket.h, netdb.h, netinet/in.h, since these files are already included by k5-config.h sendto_kdc.c: Don't include sys/socket.h, since it is already included by k5-config.h sn2princ.c: Don't include netdb.h, since it is already included by k5-config.h git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5239 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/os/ChangeLog b/src/lib/krb5/os/ChangeLog index 232701702..556a7b318 100644 --- a/src/lib/krb5/os/ChangeLog +++ b/src/lib/krb5/os/ChangeLog @@ -1,3 +1,14 @@ +Fri Mar 24 17:58:15 1995 Theodore Y. Ts'o (tytso@rt-11) + + * locate_kdc.c: Don't include sys/socket.h, netdb.h, netinet/in.h, + since these files are already included by k5-config.h + + * sendto_kdc.c: Don't include sys/socket.h, since it is already + included by k5-config.h + + * sn2princ.c: Don't include netdb.h, since it is already included + by k5-config.h + Thu Mar 23 23:11:36 1995 Theodore Y. Ts'o * realm_dom.c (krb5_get_realm_domain): Don't indent preprocessor diff --git a/src/lib/krb5/os/locate_kdc.c b/src/lib/krb5/os/locate_kdc.c index 4c2d2e94a..f5f1aab7c 100644 --- a/src/lib/krb5/os/locate_kdc.c +++ b/src/lib/krb5/os/locate_kdc.c @@ -28,15 +28,6 @@ #include "k5-int.h" #include #include -#ifndef _WINSOCKAPI_ -#include -#ifdef KRB5_USE_INET -#include -#endif -#endif -#ifndef _WINSOCKAPI_ -#include -#endif #include "os-proto.h" #ifdef KRB5_USE_INET diff --git a/src/lib/krb5/os/sendto_kdc.c b/src/lib/krb5/os/sendto_kdc.c index fb0b72653..86a093dcf 100644 --- a/src/lib/krb5/os/sendto_kdc.c +++ b/src/lib/krb5/os/sendto_kdc.c @@ -30,9 +30,6 @@ #include "k5-int.h" #include -#ifndef _WINSOCKAPI_ -#include -#endif #ifdef HAVE_SYS_TIME_H #include #else diff --git a/src/lib/krb5/os/sn2princ.c b/src/lib/krb5/os/sn2princ.c index 1ee37d3f9..6546b0041 100644 --- a/src/lib/krb5/os/sn2princ.c +++ b/src/lib/krb5/os/sn2princ.c @@ -27,9 +27,6 @@ #define NEED_SOCKETS #include "k5-int.h" -#ifndef _WINSOCKAPI_ -#include -#endif #include #ifdef HAVE_SYS_PARAM_H #include