summaryrefslogtreecommitdiff
path: root/cmd/gettime.c
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2024-04-27 08:10:59 -0600
committerTom Rini <[email protected]>2024-05-06 15:05:04 -0600
commit301bac6047c85e2c5e39929805ca661bb09a7481 (patch)
tree647277b2c2c7a0af2de861c562d5c429deefafda /cmd/gettime.c
parent752ed0867522a68f21392a6b9d78589129248572 (diff)
cmd: Remove <common.h> and add needed includes
Remove <common.h> from all "cmd/" files and when needed add missing include files directly. Signed-off-by: Tom Rini <[email protected]>
Diffstat (limited to 'cmd/gettime.c')
-rw-r--r--cmd/gettime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/gettime.c b/cmd/gettime.c
index 2e74e02b499..fc307efce8c 100644
--- a/cmd/gettime.c
+++ b/cmd/gettime.c
@@ -11,8 +11,8 @@
/*
* Get Timer overflows after 2^32 / CONFIG_SYS_HZ (32Khz) = 131072 sec
*/
-#include <common.h>
#include <command.h>
+#include <time.h>
static int do_gettime(struct cmd_tbl *cmdtp, int flag, int argc,
char *const argv[])