* klist.c: Do not pull in winsock.h since we already pull in
authorDanilo Almeida <dalmeida@mit.edu>
Thu, 11 Apr 2002 03:21:46 +0000 (03:21 +0000)
committerDanilo Almeida <dalmeida@mit.edu>
Thu, 11 Apr 2002 03:21:46 +0000 (03:21 +0000)
port-sockets.h.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14380 dc483132-0cff-0310-8789-dd5450dbe970

src/clients/klist/ChangeLog
src/clients/klist/klist.c

index 5d112621d96206d46a89c169c6ce258fcc9f70e4..bc3504d0f27b2c4897b146c35aa6196584012989 100644 (file)
@@ -1,3 +1,8 @@
+2002-04-10  Danilo Almeida  <dalmeida@mit.edu>
+
+       * klist.c: Do not pull in winsock.h since we already pull in
+       port-sockets.h.
+
 2002-04-05  Ken Raeburn  <raeburn@mit.edu>
 
        * klist.c (one_addr): Make 0 unsigned (!) in conditional
index 5b40dbefd14688725df942f48ac2139778c96f03..c3dac27929662f81cd8717f46c8fb953b08e3f5e 100644 (file)
@@ -49,9 +49,7 @@
 #define GET_PROGNAME(x) max(max(strrchr((x), '/'), strrchr((x), '\\')) + 1,(x))
 #endif
 
-#ifdef _WIN32
-#include <winsock.h>
-#else
+#ifndef _WIN32
 #include <sys/socket.h>
 #include <netdb.h>
 #endif