summaryrefslogtreecommitdiffstats
path: root/scripts/kconfig/expr.c
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2018-12-21 17:33:04 +0900
committerMasahiro Yamada <yamada.masahiro@socionext.com>2018-12-28 22:22:38 +0900
commit558e78e3ce844c61ceffe32775dbefacf167b023 (patch)
treeb0e4f2bbbfabb939be8847dc51197fe62e4c3cc2 /scripts/kconfig/expr.c
parent0c874100108f03401cb3154801d2671bbad40ad4 (diff)
downloadlinux-558e78e3ce844c61ceffe32775dbefacf167b023.tar.bz2
kconfig: split some C files out of zconf.y
I want to compile each C file independently instead of including all of them from zconf.y. Split out confdata.c, expr.c, symbol.c, and preprocess.c . These are low-hanging fruits. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'scripts/kconfig/expr.c')
-rw-r--r--scripts/kconfig/expr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/kconfig/expr.c b/scripts/kconfig/expr.c
index 3ff8c92c86ba..77ffff3a053c 100644
--- a/scripts/kconfig/expr.c
+++ b/scripts/kconfig/expr.c
@@ -3,6 +3,8 @@
* Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org>
*/
+#include <ctype.h>
+#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>