summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cmd/mem.c1
-rw-r--r--test/cmd/mem_copy.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/cmd/mem.c b/cmd/mem.c
index 9e716776393..e5b9cb29349 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 3e904fc4e4b..8e551f18a85 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>