From 36b33ba42f99b6f163c0a95c0de0d90bdb0a2975 Mon Sep 17 00:00:00 2001 From: Gilles Peskine Date: Fri, 7 Oct 2022 19:23:11 +0200 Subject: [PATCH] Restore platform.h inclusion in error.c This is an automatically generated file. The automatic processing to change platform.h inclusion made it diverge, so put it back the way it needs to be. platform.h is getting included once unconditionally from the fixed part of the template, and once from the automatic enumeration of headers, which is perfectly fine. Signed-off-by: Gilles Peskine --- library/error.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/library/error.c b/library/error.c index 8c16ca0e24..8573369a32 100644 --- a/library/error.c +++ b/library/error.c @@ -162,7 +162,9 @@ #include "mbedtls/pkcs5.h" #endif +#if defined(MBEDTLS_PLATFORM_C) #include "mbedtls/platform.h" +#endif #if defined(MBEDTLS_POLY1305_C) #include "mbedtls/poly1305.h"