These files require <compiler.h> in order to have MEM_SUPPORT_64BIT_DATA be defined but currently rely on a long indirect include path to get it. Add this directly.
Signed-off-by: Tom Rini <tr...@konsulko.com> --- cmd/mem.c | 1 + test/cmd/mem_copy.c | 1 + 2 files changed, 2 insertions(+) diff --git a/cmd/mem.c b/cmd/mem.c index 9e716776393a..e5b9cb293491 100644 --- a/cmd/mem.c +++ b/cmd/mem.c @@ -14,6 +14,7 @@ #include <bootretry.h> #include <cli.h> #include <command.h> +#include <compiler.h> #include <console.h> #include <display_options.h> #ifdef CONFIG_MTD_NOR_FLASH diff --git a/test/cmd/mem_copy.c b/test/cmd/mem_copy.c index 3e904fc4e4ba..8e551f18a852 100644 --- a/test/cmd/mem_copy.c +++ b/test/cmd/mem_copy.c @@ -4,6 +4,7 @@ */ #include <command.h> +#include <compiler.h> #include <console.h> #include <mapmem.h> #include <dm/test.h> -- 2.43.0