Commit 2469e76b authored by Matt Caswell's avatar Matt Caswell
Browse files

Include winsock2.h even if compiling no-sock



We need the struct timeval definition from winsock2.h even if we're not
going to call any socket functions.

Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
parent d6e03b70
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -223,7 +223,7 @@ extern "C" {
        */
#    define _WIN32_WINNT 0x0501
#   endif
#   if !defined(OPENSSL_NO_SOCK) && (defined(_WIN32_WINNT) || defined(_WIN32_WCE))
#   if defined(_WIN32_WINNT) || defined(_WIN32_WCE)
       /*
        * Just like defining _WIN32_WINNT including winsock2.h implies
        * certain "discipline" for maintaining [broad] binary compatibility.