]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - xlat.c
Miscellaneous fixes to try to make other compilers happier
[PuTTY.git] / xlat.c
diff --git a/xlat.c b/xlat.c
index dba9f4a7edeb4f9648e07c14c4179e6a1b9a8fe8..95fa3437d598da0d4498048a6c5723f9a459faf4 100644 (file)
--- a/xlat.c
+++ b/xlat.c
@@ -1,4 +1,11 @@
 #include <windows.h>
+#ifndef AUTO_WINSOCK
+#ifdef WINSOCK_TWO
+#include <winsock2.h>
+#else
+#include <winsock.h>
+#endif
+#endif
 #include <stdio.h>
 #include "putty.h"