From 413ce239cd5b8e5db38ad2329f3f670c5f4081e5 Mon Sep 17 00:00:00 2001 From: Orefkov Aleksander Date: Tue, 12 Oct 2021 17:18:01 +0300 Subject: mbedtls: windows: add define to be compatible with the latest versions of mbedtls --- lib/plat/windows/windows-sockets.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/plat/windows/windows-sockets.c b/lib/plat/windows/windows-sockets.c index 2619fad2..ce9b7192 100644 --- a/lib/plat/windows/windows-sockets.c +++ b/lib/plat/windows/windows-sockets.c @@ -25,6 +25,7 @@ #ifndef _WINSOCK_DEPRECATED_NO_WARNINGS #define _WINSOCK_DEPRECATED_NO_WARNINGS #endif +#define MBEDTLS_ALLOW_PRIVATE_ACCESS #include "private-lib-core.h" #if defined(LWS_WITH_MBEDTLS) -- cgit v1.2.3