This file references errno values and so needs to include <linux/errno.h>.
Signed-off-by: Tom Rini <tr...@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