Need port-sockets.h for Win32 (now that using WIN32_LEAN_AND_MEAN)
authorDanilo Almeida <dalmeida@mit.edu>
Thu, 11 Apr 2002 03:07:14 +0000 (03:07 +0000)
committerDanilo Almeida <dalmeida@mit.edu>
Thu, 11 Apr 2002 03:07:14 +0000 (03:07 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14374 dc483132-0cff-0310-8789-dd5450dbe970

src/krb524/ChangeLog
src/krb524/cnv_tkt_skey.c
src/krb524/encode.c

index 28707cc5e2efb84851a1e5df6e9e5e354c912e75..68b0a832a108cb17ea1fd614a6293edc5d67e48c 100644 (file)
@@ -1,3 +1,8 @@
+2002-04-10  Danilo Almeida  <dalmeida@mit.edu>
+
+       * encode.c, cnv_tkt_skey.c: Need port-sockets.h for Win32 (now
+       that using WIN32_LEAN_AND_MEAN).
+
 2002-03-06  Ken Raeburn  <raeburn@mit.edu>
 
        * krb524d.c (lookup_service_key): Copy key block and free up
index 12098fdecef26e16a61b317e168252dcf57f7f5e..00452eeeacc9a7f53c2e6857642685520f90b67e 100644 (file)
@@ -24,7 +24,9 @@
 #include <stdio.h>
 #include <sys/types.h>
 
-#ifndef _WIN32
+#ifdef _WIN32
+#include "port-sockets.h"
+#else
 #include <sys/time.h>
 #include <netinet/in.h>
 #endif
index 596c9a954c0077cf180abf5b60a9bc1d6b9e55b9..448efd993810a7faf4e436c71d07d91bf643a8a0 100644 (file)
@@ -26,7 +26,9 @@
 #include <signal.h>
 #include <sys/types.h>
 
-#ifndef _WIN32
+#ifdef _WIN32
+#include "port-sockets.h"
+#else
 #include <sys/time.h>
 #include <sys/signal.h>
 #include <netinet/in.h>