summaryrefslogtreecommitdiff
path: root/api/api.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2024-05-01 19:31:37 -0600
committerTom Rini <trini@konsulko.com>2024-05-07 08:00:57 -0600
commit1227a30d0056e8f09e7bb97a555ccfa900afba46 (patch)
tree8ccc1a891ff38c02169c76ee2eaacd91d77abdd1 /api/api.c
parent2193e160446e78513a4a8dfd95876762286f1fb1 (diff)
api: Remove <common.h> and add needed includes
Remove <common.h> from here and when needed add missing include files directly. Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'api/api.c')
-rw-r--r--api/api.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/api/api.c b/api/api.c
index 89003c161c2..d22132f62fe 100644
--- a/api/api.c
+++ b/api/api.c
@@ -7,11 +7,13 @@
#include <config.h>
#include <command.h>
-#include <common.h>
#include <env.h>
#include <malloc.h>
+#include <time.h>
#include <env_internal.h>
+#include <vsprintf.h>
#include <linux/delay.h>
+#include <linux/errno.h>
#include <linux/types.h>
#include <api_public.h>
#include <u-boot/crc.h>