From: Heinrich Schuchardt Date: Mon, 22 Mar 2021 18:09:20 +0100 Subject: [PATCH] dm: test: Always include command.h for print_ut In-Reply-To: <20210322131545.2548685-1-seanga2@gmail.com> References: <20210322131545.2548685-1-seanga2@gmail.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 22.03.21 14:15, Sean Anderson wrote: > We need this header for U_BOOT_CMD, which is always present even without > EFI. > > Fixes: 82c468a049 dm: test: Update Makefile conditions > > Signed-off-by: Sean Anderson Fixes: 091401131085 ("[PATCH] dm: test: Always include command.h for print_ut") > --- > > test/print_ut.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/test/print_ut.c b/test/print_ut.c > index a456a449ef..61ea432e46 100644 > --- a/test/print_ut.c > +++ b/test/print_ut.c > @@ -6,8 +6,8 @@ > #define DEBUG > > #include > -#if CONFIG_IS_ENABLED(EFI_LOADER) && !defined(API_BUILD) > #include > +#if CONFIG_IS_ENABLED(EFI_LOADER) && !defined(API_BUILD) We should simply remove this #if. Best regards Heinrich > #include > #endif > #include >