summaryrefslogtreecommitdiff
path: root/extra/yassl/include/socket_wrapper.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'extra/yassl/include/socket_wrapper.hpp')
-rw-r--r--extra/yassl/include/socket_wrapper.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/extra/yassl/include/socket_wrapper.hpp b/extra/yassl/include/socket_wrapper.hpp
index ba52dbab3ec..308704c2af0 100644
--- a/extra/yassl/include/socket_wrapper.hpp
+++ b/extra/yassl/include/socket_wrapper.hpp
@@ -28,8 +28,9 @@
#include <assert.h>
-#include "openssl/ssl.h" /* for socket_t */
-#if !defined(_WIN32) && !defined(_WIN64)
+#ifdef _WIN32
+ #include <winsock2.h>
+#else
#include <sys/time.h>
#include <sys/types.h>
#include <sys/socket.h>