Browse Source

changeses to allow us to use WIN32_LEAN_AND_MEAN

Zachary Pavlov 19 years ago
parent
commit
5ba0ce88ba

+ 1 - 0
panda/src/downloader/bioStreamBuf.cxx

@@ -24,6 +24,7 @@
 #ifdef HAVE_OPENSSL
 
 #ifdef WIN32_VC
+  #include <WinSock2.h>
   #include <windows.h>  // for WSAGetLastError()
   #undef X509_NAME
 #endif  // WIN32_VC

+ 1 - 0
panda/src/downloader/httpChannel.cxx

@@ -30,6 +30,7 @@
 #include "openssl/x509.h"
 
 #ifdef WIN32_VC
+  #include <WinSock2.h>
   #include <windows.h>  // for select()
   #undef X509_NAME
 #endif  // WIN32_VC

+ 1 - 0
panda/src/pstatclient/pStatClientImpl.cxx

@@ -33,6 +33,7 @@
 #include <algorithm>
 
 #ifdef WIN32_VC
+#include <Winsock2.h>
 #include <windows.h>
 #endif