From b7ea3f18e953cdee317e96318bee5b45b31d0fcf Mon Sep 17 00:00:00 2001 From: Danilo Almeida Date: Thu, 11 Apr 2002 03:07:14 +0000 Subject: [PATCH] Need port-sockets.h for Win32 (now that using WIN32_LEAN_AND_MEAN) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14374 dc483132-0cff-0310-8789-dd5450dbe970 --- src/krb524/ChangeLog | 5 +++++ src/krb524/cnv_tkt_skey.c | 4 +++- src/krb524/encode.c | 4 +++- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/src/krb524/ChangeLog b/src/krb524/ChangeLog index 28707cc5e..68b0a832a 100644 --- a/src/krb524/ChangeLog +++ b/src/krb524/ChangeLog @@ -1,3 +1,8 @@ +2002-04-10 Danilo Almeida + + * encode.c, cnv_tkt_skey.c: Need port-sockets.h for Win32 (now + that using WIN32_LEAN_AND_MEAN). + 2002-03-06 Ken Raeburn * krb524d.c (lookup_service_key): Copy key block and free up diff --git a/src/krb524/cnv_tkt_skey.c b/src/krb524/cnv_tkt_skey.c index 12098fdec..00452eeea 100644 --- a/src/krb524/cnv_tkt_skey.c +++ b/src/krb524/cnv_tkt_skey.c @@ -24,7 +24,9 @@ #include #include -#ifndef _WIN32 +#ifdef _WIN32 +#include "port-sockets.h" +#else #include #include #endif diff --git a/src/krb524/encode.c b/src/krb524/encode.c index 596c9a954..448efd993 100644 --- a/src/krb524/encode.c +++ b/src/krb524/encode.c @@ -26,7 +26,9 @@ #include #include -#ifndef _WIN32 +#ifdef _WIN32 +#include "port-sockets.h" +#else #include #include #include -- 2.26.2