From 4d564bd6309496f8b28a44cfb9db702907fbfa6f Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Mon, 4 Apr 2011 16:46:38 +0200 Subject: [PATCH] Ensure FD_TO_SOCKET is defined under Windows. --- src/ChangeLog | 2 ++ src/openssl.c | 4 ++++ 2 files changed, 6 insertions(+) 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; -- 2.39.2