1 Dec
2025
1 Dec
'25
5:04 p.m.
From: Simon Glass <simon.glass@canonical.com> Include log.h early to prevent an assert() redefinition warning. Co-developed-by: Claude <noreply@anthropic.com> Signed-off-by: Simon Glass <simon.glass@canonical.com> --- common/dlmalloc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/common/dlmalloc.c b/common/dlmalloc.c index 480dd46c0cf..ff13a779211 100644 --- a/common/dlmalloc.c +++ b/common/dlmalloc.c @@ -562,6 +562,7 @@ MAX_RELEASE_CHECK_RATE default: 4095 unless not HAVE_MMAP #define MALLOC_FAILURE_ACTION #define ABORT do {} while (1) +#include <log.h> #include <malloc.h> #include <mapmem.h> #include <asm/global_data.h> -- 2.43.0