From: Theodore Tso Date: Tue, 27 Feb 1996 23:48:59 +0000 (+0000) Subject: Use #define NEED_SOCKETS instead of #including (this breaks X-Git-Tag: krb5-1.0-beta6~444 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b2c672ee4bb1e43d29a758c15b87ac9b50cdc76d;p=krb5.git Use #define NEED_SOCKETS instead of #including (this breaks under windows). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7554 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/os/ChangeLog b/src/lib/krb5/os/ChangeLog index 76441b625..088fabedc 100644 --- a/src/lib/krb5/os/ChangeLog +++ b/src/lib/krb5/os/ChangeLog @@ -1,3 +1,8 @@ +Tue Feb 27 18:48:03 1996 Theodore Y. Ts'o + + * hostaddr.c (krb5_os_hostaddr): Use #define NEED_SOCKETS instead + of #including (this breaks under windows). + Mon Feb 26 17:04:26 1996 Theodore Y. Ts'o * promptusr.c: Don't compile promptusr for Windows or Macintosh. diff --git a/src/lib/krb5/os/hostaddr.c b/src/lib/krb5/os/hostaddr.c index 9bd482020..18b06691d 100644 --- a/src/lib/krb5/os/hostaddr.c +++ b/src/lib/krb5/os/hostaddr.c @@ -24,10 +24,9 @@ * */ +#include NEED_SOCKETS #include "k5-int.h" -#include - krb5_error_code krb5_os_hostaddr(context, name, ret_addrs) krb5_context context;