changeses to allow us to use WIN32_LEAN_AND_MEAN

This commit is contained in:
Zachary Pavlov 2006-11-14 04:05:55 +00:00
parent 322fad4dd5
commit 5ba0ce88ba
3 changed files with 3 additions and 0 deletions

View File

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

View File

@ -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

View File

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