mirror of
https://github.com/mirror/wget.git
synced 2025-01-06 10:20:56 +08:00
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>
|
2011-04-04 Giuseppe Scrivano <gscrivano@gnu.org>
|
||||||
|
|
||||||
|
* openssl.c [WINDOWS]: Include <w32sock.h>.
|
||||||
|
|
||||||
* host.c [WINDOWS]: Include <winsock2.h> and <ws2tcpip.h>.
|
* host.c [WINDOWS]: Include <winsock2.h> and <ws2tcpip.h>.
|
||||||
Suggested by: Ray Satiro <raysatiro@yahoo.com>.
|
Suggested by: Ray Satiro <raysatiro@yahoo.com>.
|
||||||
|
|
||||||
|
@ -46,6 +46,10 @@ as that of the covered work. */
|
|||||||
#include "url.h"
|
#include "url.h"
|
||||||
#include "ssl.h"
|
#include "ssl.h"
|
||||||
|
|
||||||
|
#ifdef WINDOWS
|
||||||
|
# include <w32sock.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Application-wide SSL context. This is common to all SSL
|
/* Application-wide SSL context. This is common to all SSL
|
||||||
connections. */
|
connections. */
|
||||||
static SSL_CTX *ssl_ctx;
|
static SSL_CTX *ssl_ctx;
|
||||||
|
Loading…
Reference in New Issue
Block a user