]> git.baikalelectronics.ru Git - kernel.git/commit
kbuild: confdata.c explicitly reference errno, thus need <errno.h>
authorArnaud Lacombe <lacombar@gmail.com>
Tue, 17 Aug 2010 05:40:20 +0000 (01:40 -0400)
committerMichal Marek <mmarek@suse.cz>
Tue, 17 Aug 2010 07:11:38 +0000 (09:11 +0200)
commitc7cf675f195fbe0ace2dfc0a6c5e2d32ef15e381
treef6fe440415fb6e4b96250569536f80c9bcfca0fc
parent944fff1c555c6d3864cbfaf9a7846b57c2872643
kbuild: confdata.c explicitly reference errno, thus need <errno.h>

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 <lacombar@gmail.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
scripts/kconfig/confdata.c