summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/clients/klist/ChangeLog5
-rw-r--r--src/clients/klist/klist.c4
2 files changed, 6 insertions, 3 deletions
diff --git a/src/clients/klist/ChangeLog b/src/clients/klist/ChangeLog
index 5d112621d..bc3504d0f 100644
--- a/src/clients/klist/ChangeLog
+++ b/src/clients/klist/ChangeLog
@@ -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
diff --git a/src/clients/klist/klist.c b/src/clients/klist/klist.c
index 5b40dbefd..c3dac2792 100644
--- a/src/clients/klist/klist.c
+++ b/src/clients/klist/klist.c
@@ -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