projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Work around horrifyingly nonportable use of unions in <commctrl.h>
[u/mdw/putty]
/
be_nossh.c
diff --git
a/be_nossh.c
b/be_nossh.c
index
fdd9828
..
5dac276
100644
(file)
--- a/
be_nossh.c
+++ b/
be_nossh.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"