[PATCH 1/4] cmd/cat.c: Add missing include
Tom Rini
trini at konsulko.com
Thu May 1 18:47:18 CEST 2025
This file references errno values and so needs to include
<linux/errno.h>.
Signed-off-by: Tom Rini <trini at konsulko.com>
---
cmd/cat.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/cmd/cat.c b/cmd/cat.c
index 6828b7b364e5..3167cda60327 100644
--- a/cmd/cat.c
+++ b/cmd/cat.c
@@ -8,6 +8,7 @@
#include <fs.h>
#include <malloc.h>
#include <mapmem.h>
+#include <linux/errno.h>
static int do_cat(struct cmd_tbl *cmdtp, int flag, int argc,
char *const argv[])
--
2.43.0
More information about the U-Boot
mailing list