From b2c672ee4bb1e43d29a758c15b87ac9b50cdc76d Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Tue, 27 Feb 1996 23:48:59 +0000 Subject: [PATCH] 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 --- src/lib/krb5/os/ChangeLog | 5 +++++ src/lib/krb5/os/hostaddr.c | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) 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; -- 2.26.2