summaryrefslogtreecommitdiff
path: root/boot/image-pre-load.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2025-05-14 16:46:00 -0600
committerTom Rini <trini@konsulko.com>2025-05-29 08:29:16 -0600
commit64307118499db0be83db29cfcbd8860db1e44e37 (patch)
tree0a7e246db9ae4c3bdc3ac057e43a4915c300c7df /boot/image-pre-load.c
parent0352eab7d373664c1c01b23154025b83ec0eadca (diff)
global: Add <linux/string.h> instead of long indirect include path
In a number of cases we have C files which rely on a chain of indirect include paths to get <linux/string.h> to be included via <command.h>. To facilitate cleaning up <command.h> make this code directly include <linux/string.h>. Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'boot/image-pre-load.c')
-rw-r--r--boot/image-pre-load.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/boot/image-pre-load.c b/boot/image-pre-load.c
index adf3b341a20..2f851ebb28c 100644
--- a/boot/image-pre-load.c
+++ b/boot/image-pre-load.c
@@ -7,6 +7,7 @@
#include "mkimage.h"
#else
#include <asm/global_data.h>
+#include <env.h>
#include <mapmem.h>
DECLARE_GLOBAL_DATA_PTR;
#endif /* !USE_HOSTCC*/