summaryrefslogtreecommitdiffstats
path: root/scripts/kconfig/confdata.c
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2018-12-21 09:33:04 +0100
committerMasahiro Yamada <yamada.masahiro@socionext.com>2018-12-28 14:22:38 +0100
commit558e78e3ce844c61ceffe32775dbefacf167b023 (patch)
treeb0e4f2bbbfabb939be8847dc51197fe62e4c3cc2 /scripts/kconfig/confdata.c
parentkconfig: convert to SPDX License Identifier (diff)
downloadlinux-558e78e3ce844c61ceffe32775dbefacf167b023.tar.xz
linux-558e78e3ce844c61ceffe32775dbefacf167b023.zip
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/confdata.c')
-rw-r--r--scripts/kconfig/confdata.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/kconfig/confdata.c b/scripts/kconfig/confdata.c
index 83f78e5c137e..08ba146a83c5 100644
--- a/scripts/kconfig/confdata.c
+++ b/scripts/kconfig/confdata.c
@@ -7,6 +7,7 @@
#include <ctype.h>
#include <errno.h>
#include <fcntl.h>
+#include <limits.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>