summaryrefslogtreecommitdiff
path: root/cmd/setexpr.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2024-04-27 08:10:59 -0600
committerTom Rini <trini@konsulko.com>2024-05-06 15:05:04 -0600
commit301bac6047c85e2c5e39929805ca661bb09a7481 (patch)
tree647277b2c2c7a0af2de861c562d5c429deefafda /cmd/setexpr.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 <trini@konsulko.com>
Diffstat (limited to 'cmd/setexpr.c')
-rw-r--r--cmd/setexpr.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/setexpr.c b/cmd/setexpr.c
index ab76824a32b..e111b8ba98a 100644
--- a/cmd/setexpr.c
+++ b/cmd/setexpr.c
@@ -8,7 +8,6 @@
* This file provides a shell like 'expr' function to return.
*/
-#include <common.h>
#include <config.h>
#include <command.h>
#include <ctype.h>
@@ -16,6 +15,8 @@
#include <log.h>
#include <malloc.h>
#include <mapmem.h>
+#include <vsprintf.h>
+#include <linux/errno.h>
#include <linux/sizes.h>
#include "printf.h"