mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-29 18:27:29 +02:00
Only include ws2tcpip.h
if not user IO.
This commit is contained in:
@ -77,7 +77,7 @@
|
||||
#ifndef _WIN32
|
||||
#include <arpa/inet.h>
|
||||
#else
|
||||
#include <WS2tcpip.h>
|
||||
#include <ws2tcpip.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
@ -618,7 +618,9 @@
|
||||
#include <winsock2.h>
|
||||
#endif
|
||||
#include <windows.h>
|
||||
#include <ws2tcpip.h>
|
||||
#ifndef WOLFSSL_USER_IO
|
||||
#include <ws2tcpip.h> /* required for InetPton */
|
||||
#endif
|
||||
#endif /* WOLFSSL_SGX */
|
||||
#endif
|
||||
#elif defined(THREADX)
|
||||
|
Reference in New Issue
Block a user