summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/main.c b/common/main.c
index 94b3fa3..145ded1 100644
--- a/common/main.c
+++ b/common/main.c
@@ -49,6 +49,10 @@
#include <fdt_support.h>
#endif /* CONFIG_OF_LIBFDT */
+#ifdef is_boot_from_usb
+#include <environment.h>
+#endif
+
#include <post.h>
#include <linux/ctype.h>
#include <menu.h>