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