summaryrefslogtreecommitdiff
path: root/cmd/echo.c
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2025-05-14 16:46:00 -0600
committerTom Rini <[email protected]>2025-05-29 08:29:16 -0600
commit64307118499db0be83db29cfcbd8860db1e44e37 (patch)
tree0a7e246db9ae4c3bdc3ac057e43a4915c300c7df /cmd/echo.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 <[email protected]>
Diffstat (limited to 'cmd/echo.c')
-rw-r--r--cmd/echo.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/echo.c b/cmd/echo.c
index 973213a03a6..d1346504cfb 100644
--- a/cmd/echo.c
+++ b/cmd/echo.c
@@ -5,6 +5,7 @@
*/
#include <command.h>
+#include <linux/string.h>
static int do_echo(struct cmd_tbl *cmdtp, int flag, int argc,
char *const argv[])