summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/env_embedded.c2
-rw-r--r--tools/envcrc.c2
2 files changed, 4 insertions, 0 deletions
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 <linux/kconfig.h>
+
#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 <string.h>
#include <unistd.h>
+#include <linux/kconfig.h>
+
#ifndef __ASSEMBLY__
#define __ASSEMBLY__ /* Dirty trick to get only #defines */
#endif