]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
tools/env: Correct include kconfig
authorYork Sun <york.sun@nxp.com>
Wed, 16 Nov 2016 01:02:31 +0000 (17:02 -0800)
committerYork Sun <york.sun@nxp.com>
Thu, 24 Nov 2016 07:41:23 +0000 (23:41 -0800)
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 <york.sun@nxp.com>
common/env_embedded.c
tools/envcrc.c

index 56a13cb882d22f0916e8220571abd98eba917bbe..b368fdaa80967d8d7d0383ea1d4cd7f3b9e440a8 100644 (file)
@@ -5,6 +5,8 @@
  * SPDX-License-Identifier:    GPL-2.0+
  */
 
+#include <linux/kconfig.h>
+
 #ifndef __ASSEMBLY__
 #define        __ASSEMBLY__                    /* Dirty trick to get only #defines */
 #endif
index a9d9b48c76d407cb2c241127e2678037cc1e8846..e9fd088ff2f5d98a40b6a27360dc13cb014a437a 100644 (file)
@@ -12,6 +12,8 @@
 #include <string.h>
 #include <unistd.h>
 
+#include <linux/kconfig.h>
+
 #ifndef __ASSEMBLY__
 #define        __ASSEMBLY__                    /* Dirty trick to get only #defines     */
 #endif