diff mbox series

[1/2] kconfig: make lkc.h self-sufficient #include-wise

Message ID 20201029155152.2467-2-boris@codesynthesis.com (mailing list archive)
State New, archived
Headers show
Series kconfig: header inclusion cleanups | expand

Commit Message

Boris Kolpackov Oct. 29, 2020, 3:51 p.m. UTC
Signed-off-by: Boris Kolpackov <boris@codesynthesis.com>
---
 scripts/kconfig/lkc.h | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Masahiro Yamada Nov. 2, 2020, 3:40 a.m. UTC | #1
On Fri, Oct 30, 2020 at 12:52 AM Boris Kolpackov
<boris@codesynthesis.com> wrote:
>
> Signed-off-by: Boris Kolpackov <boris@codesynthesis.com>
> ---
>  scripts/kconfig/lkc.h | 4 ++++
>  1 file changed, 4 insertions(+)
>
> diff --git a/scripts/kconfig/lkc.h b/scripts/kconfig/lkc.h
> index 8454649..3e2c70e 100644
> --- a/scripts/kconfig/lkc.h
> +++ b/scripts/kconfig/lkc.h
> @@ -6,6 +6,10 @@
>  #ifndef LKC_H
>  #define LKC_H
>
> +#include <stdio.h>
> +#include <assert.h>
> +#include <stdlib.h>
> +
>  #include "expr.h"
>
>  #ifdef __cplusplus
> --
> 2.29.0
>

Applied to linux-kbuild.
diff mbox series

Patch

diff --git a/scripts/kconfig/lkc.h b/scripts/kconfig/lkc.h
index 8454649..3e2c70e 100644
--- a/scripts/kconfig/lkc.h
+++ b/scripts/kconfig/lkc.h
@@ -6,6 +6,10 @@ 
 #ifndef LKC_H
 #define LKC_H
 
+#include <stdio.h>
+#include <assert.h>
+#include <stdlib.h>
+
 #include "expr.h"
 
 #ifdef __cplusplus