diff options
author | Arnaud Lacombe <lacombar@gmail.com> | 2010-08-17 09:40:20 +0400 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2010-08-17 11:11:38 +0400 |
commit | 94bedeca77bf79a81952ed4c3abb8c1cce4c85dd (patch) | |
tree | f6fe440415fb6e4b96250569536f80c9bcfca0fc /scripts/kconfig | |
parent | a72f3e2b82eb26f43bed1f83beeeb47830918811 (diff) | |
download | linux-94bedeca77bf79a81952ed4c3abb8c1cce4c85dd.tar.xz |
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>
Diffstat (limited to 'scripts/kconfig')
-rw-r--r-- | scripts/kconfig/confdata.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 <sys/stat.h> #include <ctype.h> +#include <errno.h> #include <fcntl.h> #include <stdio.h> #include <stdlib.h> |