From b155a58ab5ea06ea965609637cf9bec8909b2bf4 Mon Sep 17 00:00:00 2001 From: Valerio Setti Date: Wed, 29 Apr 2026 16:57:55 +0200 Subject: [PATCH] include mbedtls_platform_requirements.h in mbedtls_config.c This is required because if the user defined configuration file (not the default one provided by mbedtls) includes files from the standard C library then __STDC_WANT_LIB_EXT1__ won't be defined there which cause weird build failures. Signed-off-by: Valerio Setti --- library/mbedtls_config.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/library/mbedtls_config.c b/library/mbedtls_config.c index 48be660015..e3e6cde3cc 100644 --- a/library/mbedtls_config.c +++ b/library/mbedtls_config.c @@ -6,6 +6,8 @@ * SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later */ +#include "mbedtls_platform_requirements.h" + /* We are a special snowflake: we don't include "mbedtls_common.h", * because that would pull and we need to * tune the way it works. */