From 6f42057c67fad2ad66ed73b9c13347ac7881876f Mon Sep 17 00:00:00 2001 From: Robert Marko Date: Tue, 13 Jan 2026 12:07:38 +0100 Subject: [PATCH] tools: amlimage: include MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PRIuN, PRIxN, etc macros are defined in , without it being included errors like: tools/amlimage.c:124:38: error: expected ‘)’ before ‘PRIu8’ tools/amlimage.c:126:31: error: expected ‘)’ before ‘PRIu32’ Can be hit depending on the host compiler and HOSTCFLAGS. Fixes: 18c1654567dc ("tools: mkimage: Add Amlogic Boot Image type") Signed-off-by: Robert Marko Reviewed-by: Mark Kettenis Reviewed-by: Ferass El Hafidi --- tools/amlimage.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/amlimage.c b/tools/amlimage.c index ecb06bc535b..bc6e19b9c24 100644 --- a/tools/amlimage.c +++ b/tools/amlimage.c @@ -2,6 +2,7 @@ // Copyright Contributors to the U-Boot project. #include "imagetool.h" +#include #include /*