diff options
author | Orefkov Aleksander <orefkov@gmail.com> | 2021-10-12 17:18:01 +0300 |
---|---|---|
committer | Andy Green <andy@warmcat.com> | 2021-10-12 15:37:38 +0100 |
commit | 413ce239cd5b8e5db38ad2329f3f670c5f4081e5 (patch) | |
tree | 6d58508a0b56ca6598e7338c59bd8fe53eefa3e9 | |
parent | 00b922041bedf679c156551984f6a039fd0fc045 (diff) | |
download | libwebsockets-413ce239cd5b8e5db38ad2329f3f670c5f4081e5.tar.gz |
mbedtls: windows: add define to be compatible with the latest versions of mbedtls
-rw-r--r-- | lib/plat/windows/windows-sockets.c | 1 |
1 files changed, 1 insertions, 0 deletions
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) |