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: Rich Salz <rsalz@openssl.org>
This commit is contained in:
parent
d6e03b7077
commit
2469e76b30
1 changed files with 1 additions and 1 deletions
2
e_os.h
2
e_os.h
|
@ -223,7 +223,7 @@ extern "C" {
|
||||||
*/
|
*/
|
||||||
# define _WIN32_WINNT 0x0501
|
# define _WIN32_WINNT 0x0501
|
||||||
# endif
|
# 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
|
* Just like defining _WIN32_WINNT including winsock2.h implies
|
||||||
* certain "discipline" for maintaining [broad] binary compatibility.
|
* certain "discipline" for maintaining [broad] binary compatibility.
|
||||||
|
|
Loading…
Reference in a new issue