From: York Sun Date: Wed, 16 Nov 2016 01:02:31 +0000 (-0800) Subject: tools/env: Correct include kconfig X-Git-Tag: v2017.01-rc1~157^2~96 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f33f3e07f3a936fdbf0a81dcdd7ec6a9ba812230;p=u-boot tools/env: Correct include kconfig While we move some config macros to Kconfig, kconfig header is needed to avoid compiling error if not already included. Signed-off-by: York Sun --- diff --git a/common/env_embedded.c b/common/env_embedded.c index 56a13cb882..b368fdaa80 100644 --- a/common/env_embedded.c +++ b/common/env_embedded.c @@ -5,6 +5,8 @@ * SPDX-License-Identifier: GPL-2.0+ */ +#include + #ifndef __ASSEMBLY__ #define __ASSEMBLY__ /* Dirty trick to get only #defines */ #endif diff --git a/tools/envcrc.c b/tools/envcrc.c index a9d9b48c76..e9fd088ff2 100644 --- a/tools/envcrc.c +++ b/tools/envcrc.c @@ -12,6 +12,8 @@ #include #include +#include + #ifndef __ASSEMBLY__ #define __ASSEMBLY__ /* Dirty trick to get only #defines */ #endif