cmd/cat.c: Add missing include
authorTom Rini <trini@konsulko.com>
Thu, 1 May 2025 16:47:18 +0000 (10:47 -0600)
committerTom Rini <trini@konsulko.com>
Tue, 13 May 2025 17:30:08 +0000 (11:30 -0600)
This file references errno values and so needs to include
<linux/errno.h>.

Signed-off-by: Tom Rini <trini@konsulko.com>
cmd/cat.c

index 6828b7b..3167cda 100644 (file)
--- 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[])