From 6fa5c1d20c93d998b64c668e0e7d91771545d237 Mon Sep 17 00:00:00 2001 From: Gilles Peskine Date: Thu, 25 Nov 2021 18:12:44 +0100 Subject: [PATCH] Use the normal idiom to support MBEDTLS_CONFIG_FILE Signed-off-by: Gilles Peskine --- programs/test/dlopen.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/programs/test/dlopen.c b/programs/test/dlopen.c index e31cae1ed..2ee531645 100644 --- a/programs/test/dlopen.c +++ b/programs/test/dlopen.c @@ -17,7 +17,11 @@ * limitations under the License. */ +#if !defined(MBEDTLS_CONFIG_FILE) #include "mbedtls/config.h" +#else +#include MBEDTLS_CONFIG_FILE +#endif #include "mbedtls/platform.h" #if !defined(MBEDTLS_PLATFORM_C)