summaryrefslogtreecommitdiff
path: root/cmd/timer.c
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2025-05-14 12:15:31 -0600
committerTom Rini <[email protected]>2025-05-14 12:15:31 -0600
commit60e313d5c6373df88b99dc3be6f4ead04e9b3360 (patch)
treef271ce18d0197d0ec1ae66b995ba88289325c75d /cmd/timer.c
parent4c26de2eea6bcf5f27b13da0372d27d767cd38e3 (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]> --- Cc: Andrew Davis <[email protected]> Cc: Bin Meng <[email protected]> Cc: Dai Okamura <[email protected]> Cc: Fabio Estevam <[email protected]> Cc: Francesco Dolcini <[email protected]> Cc: Ilias Apalodimas <[email protected]> Cc: Jens Wiklander <[email protected]> Cc: Kunihiko Hayashi <[email protected]> Cc: Mingkai Hu <[email protected]> Cc: Priyanka Jain <[email protected]> Cc: Shengzhou Liu <[email protected]> Cc: Simon Glass <[email protected]> Cc: Stefano Babic <[email protected]> Cc: Svyatoslav Ryhel <[email protected]> Cc: Thierry Reding <[email protected]> Cc: William Zhang <[email protected]>
Diffstat (limited to 'cmd/timer.c')
-rw-r--r--cmd/timer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/timer.c b/cmd/timer.c
index 04fcd84ac6a..427309e108d 100644
--- a/cmd/timer.c
+++ b/cmd/timer.c
@@ -6,6 +6,7 @@
#include <command.h>
#include <time.h>
+#include <linux/string.h>
static int do_timer(struct cmd_tbl *cmdtp, int flag, int argc,
char *const argv[])