From bbba2448cdb7e2fac76dce2421f709a75e59a616 Mon Sep 17 00:00:00 2001 From: Bowen Wang Date: Fri, 11 Oct 2024 11:07:15 +0800 Subject: [PATCH] nsh_syscmds/rpmsg: include to fix compile error MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit nsh_syscmds.c: In function ‘cmd_rpmsg_once’: nsh_syscmds.c:567:13: error: ‘RPMSGIOC_PANIC’ undeclared (first use in this function) 567 | cmd = RPMSGIOC_PANIC; | ^~~~~~~~~~~~~~ nsh_syscmds.c:567:13: note: each undeclared identifier is reported only once for each function it appears in nsh_syscmds.c:571:13: error: ‘RPMSGIOC_DUMP’ undeclared (first use in this function); did you mean ‘FIOC_DUMP’? 571 | cmd = RPMSGIOC_DUMP; Signed-off-by: Bowen Wang --- nshlib/nsh_syscmds.c | 1 + 1 file changed, 1 insertion(+) diff --git a/nshlib/nsh_syscmds.c b/nshlib/nsh_syscmds.c index 9cd6bead8..71f604bc4 100644 --- a/nshlib/nsh_syscmds.c +++ b/nshlib/nsh_syscmds.c @@ -25,6 +25,7 @@ #include #include +#include #include #include #include