]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
Have wingss.c include <windows.h> by way of putty.h rather than
authorSimon Tatham <anakin@pobox.com>
Tue, 25 Nov 2008 18:54:05 +0000 (18:54 +0000)
committerSimon Tatham <anakin@pobox.com>
Tue, 25 Nov 2008 18:54:05 +0000 (18:54 +0000)
directly. Fixes a build failure involving name clashes between
winsock2.h and winsock.h, which had somehow managed to get included
in succession.

[originally from svn r8332]

windows/wingss.c

index 222b34fa1f29edfa3d06ee5b34dcf0f66e8b3d4f..773e6609c07df4c3690885c6f95ffe577924a435 100644 (file)
@@ -1,8 +1,10 @@
 #ifndef NO_GSSAPI
 
-#include <windows.h>
+#include "putty.h"
+
 #define SECURITY_WIN32
 #include <security.h>
+
 #include "sshgss.h"
 #include "misc.h"