From a088cd2b2e2693ba161a6f8d29b183756b0facdb Mon Sep 17 00:00:00 2001 From: Marco Casaroli Date: Wed, 14 Oct 2026 07:23:25 +0200 Subject: [PATCH] examples/optee_gp: Include stdlib.h and string.h. optee_gp_main.c calls malloc(), free(), memset() and memcmp(), but got their declarations only indirectly. nuttx/lib/lib.h is no longer included by stdio.h, so imx93-evk:optee does not compile. Include the headers directly. Assisted-by: Claude Code:claude-opus-5-5 Signed-off-by: Marco Casaroli --- examples/optee_gp/optee_gp_main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/optee_gp/optee_gp_main.c b/examples/optee_gp/optee_gp_main.c index b88aba69404..3170b995394 100644 --- a/examples/optee_gp/optee_gp_main.c +++ b/examples/optee_gp/optee_gp_main.c @@ -26,6 +26,8 @@ #include #include +#include +#include #include #include #include