Fix a segfault (addr->error was unpredictable following a dotted-dec lookup)
[u/mdw/putty] / winstore.c
index 51f4ee7..cd5fc34 100644 (file)
@@ -4,14 +4,8 @@
  */
 
 #include <windows.h>
-#ifndef AUTO_WINSOCK
-#ifdef WINSOCK_TWO
-#include <winsock2.h>
-#else
-#include <winsock.h>
-#endif
-#endif
 #include <stdio.h>
+#include <stdlib.h>
 #include "putty.h"
 #include "storage.h"