mirror of https://github.com/moparisthebest/wget
Ensure FD_TO_SOCKET is defined under Windows.
This commit is contained in:
parent
99e9291da3
commit
4d564bd630
|
@ -1,5 +1,7 @@
|
|||
2011-04-04 Giuseppe Scrivano <gscrivano@gnu.org>
|
||||
|
||||
* openssl.c [WINDOWS]: Include <w32sock.h>.
|
||||
|
||||
* host.c [WINDOWS]: Include <winsock2.h> and <ws2tcpip.h>.
|
||||
Suggested by: Ray Satiro <raysatiro@yahoo.com>.
|
||||
|
||||
|
|
|
@ -46,6 +46,10 @@ as that of the covered work. */
|
|||
#include "url.h"
|
||||
#include "ssl.h"
|
||||
|
||||
#ifdef WINDOWS
|
||||
# include <w32sock.h>
|
||||
#endif
|
||||
|
||||
/* Application-wide SSL context. This is common to all SSL
|
||||
connections. */
|
||||
static SSL_CTX *ssl_ctx;
|
||||
|
|
Loading…
Reference in New Issue