mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 18:57:27 +02:00
Merge pull request #4688 from embhorn/gh4684
Fix missing include ws2tcpip.h for VS build
This commit is contained in:
@ -77,7 +77,7 @@
|
|||||||
#ifndef _WIN32
|
#ifndef _WIN32
|
||||||
#include <arpa/inet.h>
|
#include <arpa/inet.h>
|
||||||
#else
|
#else
|
||||||
#include <WS2tcpip.h>
|
#include <ws2tcpip.h>
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -618,6 +618,9 @@
|
|||||||
#include <winsock2.h>
|
#include <winsock2.h>
|
||||||
#endif
|
#endif
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
|
#ifndef WOLFSSL_USER_IO
|
||||||
|
#include <ws2tcpip.h> /* required for InetPton */
|
||||||
|
#endif
|
||||||
#endif /* WOLFSSL_SGX */
|
#endif /* WOLFSSL_SGX */
|
||||||
#endif
|
#endif
|
||||||
#elif defined(THREADX)
|
#elif defined(THREADX)
|
||||||
|
Reference in New Issue
Block a user