From: Arnaud Lacombe Date: Tue, 17 Aug 2010 05:40:20 +0000 (-0400) Subject: kbuild: confdata.c explicitly reference errno, thus need X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=94bedeca77bf79a81952ed4c3abb8c1cce4c85dd;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git kbuild: confdata.c explicitly reference errno, thus need This fixes: % gmake LKC_GENPARSER=1 menuconfig [...] scripts/kconfig/confdata.c:739: error: 'errno' undeclared (first use in this function) scripts/kconfig/confdata.c:739: error: (Each undeclared identifier is reported only once scripts/kconfig/confdata.c:739: error: for each function it appears in.) scripts/kconfig/confdata.c:739: error: 'ENOENT' undeclared (first use in this function) triggered on NetBSD. Signed-off-by: Arnaud Lacombe Signed-off-by: Michal Marek --- diff --git a/scripts/kconfig/confdata.c b/scripts/kconfig/confdata.c index 515253fe46cf..dc11d51bd8b3 100644 --- a/scripts/kconfig/confdata.c +++ b/scripts/kconfig/confdata.c @@ -5,6 +5,7 @@ #include #include +#include #include #include #include