[PATCH 1/1] cmd/exception: missing include string.h

Tom Rini trini at konsulko.com
Thu Jul 3 02:34:04 CEST 2025


On Wed, Jul 02, 2025 at 10:58:18PM +0200, Heinrich Schuchardt wrote:

> When building qemu_arm64_defconfig with CMD_EXCEPTION a build error occurs:
> 
>     In file included from cmd/arm/exception64.c:87:
>     include/exception.h: In function ‘exception_complete’:
>     include/exception.h:41:23: error: implicit declaration of
>     function ‘strlen’ [-Wimplicit-function-declaration]
>        41 |                 len = strlen(argv[1]);
>           |                       ^~~~~~
> 
> Add the missing include.
> 
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>

Reviewed-by: Tom Rini <trini at konsulko.com>

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20250702/6a6b6a54/attachment.sig>


More information about the U-Boot mailing list