e_os.h: Include wspiapi.h to improve Windows backward compatibility

CLA: trivial

Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/14550)
This commit is contained in:
Prcuvu 2020-03-14 03:59:11 +00:00 committed by Dmitry Belyavskiy
parent fc5245a92e
commit 6b2978406d

1
e_os.h
View File

@ -108,6 +108,7 @@
*/ */
# include <winsock2.h> # include <winsock2.h>
# include <ws2tcpip.h> # include <ws2tcpip.h>
# include <wspiapi.h>
/* yes, they have to be #included prior to <windows.h> */ /* yes, they have to be #included prior to <windows.h> */
# endif # endif
# include <windows.h> # include <windows.h>