From: Danilo Almeida Date: Thu, 11 Apr 2002 03:07:14 +0000 (+0000) Subject: Need port-sockets.h for Win32 (now that using WIN32_LEAN_AND_MEAN) X-Git-Tag: krb5-1.3-alpha1~783 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b7ea3f18e953cdee317e96318bee5b45b31d0fcf;p=krb5.git 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 --- 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