From: Giuseppe Scrivano Date: Mon, 4 Apr 2011 14:46:38 +0000 (+0200) Subject: Ensure FD_TO_SOCKET is defined under Windows. X-Git-Tag: v1.13~53 X-Git-Url: http://sjero.net/git/?p=wget;a=commitdiff_plain;h=4d564bd6309496f8b28a44cfb9db702907fbfa6f Ensure FD_TO_SOCKET is defined under Windows. --- diff --git a/src/ChangeLog b/src/ChangeLog index 2b82006d..4c6ab208 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,7 @@ 2011-04-04 Giuseppe Scrivano + * openssl.c [WINDOWS]: Include . + * host.c [WINDOWS]: Include and . Suggested by: Ray Satiro . diff --git a/src/openssl.c b/src/openssl.c index 5520a77e..60e794f6 100644 --- a/src/openssl.c +++ b/src/openssl.c @@ -46,6 +46,10 @@ as that of the covered work. */ #include "url.h" #include "ssl.h" +#ifdef WINDOWS +# include +#endif + /* Application-wide SSL context. This is common to all SSL connections. */ static SSL_CTX *ssl_ctx;