Miscellaneous fixes to try to make other compilers happier
[u/mdw/putty] / noise.c
diff --git a/noise.c b/noise.c
index af75f9d..1d764d5 100644 (file)
--- a/noise.c
+++ b/noise.c
@@ -4,6 +4,13 @@
  */
 
 #include <windows.h>
+#ifndef AUTO_WINSOCK
+#ifdef WINSOCK_TWO
+#include <winsock2.h>
+#else
+#include <winsock.h>
+#endif
+#endif
 #include <stdio.h>
 
 #include "putty.h"