From b961d552f9abbe60bc60aba700c97822299dab53 Mon Sep 17 00:00:00 2001 From: Heinrich Schuchardt Date: Mon, 13 Jul 2020 22:22:31 +0200 Subject: [PATCH] cmd: fix lsblk command Add missing includes. Add CMD_LSBLK to sandbox_defconfig. Signed-off-by: Heinrich Schuchardt --- cmd/lsblk.c | 2 ++ configs/sandbox_defconfig | 1 + 2 files changed, 3 insertions(+) diff --git a/cmd/lsblk.c b/cmd/lsblk.c index ece8bbf..653dffc 100644 --- a/cmd/lsblk.c +++ b/cmd/lsblk.c @@ -5,6 +5,8 @@ */ #include +#include +#include #include static int do_lsblk(struct cmd_tbl *cmdtp, int flag, int argc, char * const argv[]) diff --git a/configs/sandbox_defconfig b/configs/sandbox_defconfig index 9b74e40..d43d78d 100644 --- a/configs/sandbox_defconfig +++ b/configs/sandbox_defconfig @@ -48,6 +48,7 @@ CONFIG_CMD_GPT=y CONFIG_CMD_GPT_RENAME=y CONFIG_CMD_IDE=y CONFIG_CMD_I2C=y +CONFIG_CMD_LSBLK=y CONFIG_CMD_OSD=y CONFIG_CMD_PCI=y CONFIG_CMD_READ=y -- 2.7.4