WSL2-Linux-Kernel/scripts/kconfig
Luca Tettamanti 1db11ea65e [PATCH] Fix menuconfig build failure due to missing stdbool.h
scripts/kconfig/lxdialog/util.c fails to build because it uses
true/false without including stdbool.h:

kronos:~/src/linux-2.6$ make O=../linux-build-git menuconfig
  GEN     /home/kronos/src/linux-build/Makefile
  HOSTCC  scripts/kconfig/lxdialog/util.o
/home/kronos/src/linux-2.6/scripts/kconfig/lxdialog/util.c: In function 'set_classic_theme':
/home/kronos/src/linux-2.6/scripts/kconfig/lxdialog/util.c:68: error: 'true' undeclared (first use in this function)
/home/kronos/src/linux-2.6/scripts/kconfig/lxdialog/util.c:68: error: (Each undeclared identifier is reported only once
/home/kronos/src/linux-2.6/scripts/kconfig/lxdialog/util.c:68: error: for each function it appears in.)
/home/kronos/src/linux-2.6/scripts/kconfig/lxdialog/util.c:70: error: 'false' undeclared (first use in this function)
/home/kronos/src/linux-2.6/scripts/kconfig/lxdialog/util.c: In function 'set_blackbg_theme':
/home/kronos/src/linux-2.6/scripts/kconfig/lxdialog/util.c:101: error: 'true' undeclared (first use in this function)
/home/kronos/src/linux-2.6/scripts/kconfig/lxdialog/util.c:102: error: 'false' undeclared (first use in this function)
/home/kronos/src/linux-2.6/scripts/kconfig/lxdialog/util.c: In function 'set_bluetitle_theme':
/home/kronos/src/linux-2.6/scripts/kconfig/lxdialog/util.c:144: error: 'true' undeclared (first use in this function)
make[2]: *** [scripts/kconfig/lxdialog/util.o] Error 1
make[1]: *** [menuconfig] Error 2
make: *** [menuconfig] Error 2

Add <stdbool.h> to dialog.h to fix the breakage.

Signed-off-by: Luca Tettamanti <kronos.it@gmail.com>
Cc: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-10-11 11:14:14 -07:00
..
lxdialog [PATCH] Fix menuconfig build failure due to missing stdbool.h 2006-10-11 11:14:14 -07:00
.gitignore gitignore: misc files 2006-01-01 22:21:50 +01:00
Makefile kbuild: do not build mconf & lxdialog unless needed 2006-09-30 11:19:20 +02:00
POTFILES.in [PATCH] Kconfig i18n support 2005-05-05 15:24:00 -07:00
conf.c kconfig: exit if no beginning filename 2006-06-09 16:28:07 +02:00
confdata.c kconfig: fix saving alternate kconfig file in parent dir 2006-10-01 11:48:53 +02:00
expr.c kconfig: create links in info window 2006-06-09 16:28:07 +02:00
expr.h kconfig: add defconfig_list/module option 2006-06-09 07:31:30 +02:00
gconf.c kconfig: allow loading multiple configurations 2006-06-09 07:31:30 +02:00
gconf.glade [PATCH] fix gconfig crash 2005-07-28 15:43:58 -07:00
images.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
kconfig_load.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
kxgettext.c [PATCH] kconfig: kxgettext: EOL fix 2005-09-05 00:05:49 -07:00
lex.zconf.c_shipped kconfig: add symbol option config syntax 2006-06-09 07:31:30 +02:00
lkc.h kconfig: KCONFIG_OVERWRITECONFIG 2006-06-09 16:28:07 +02:00
lkc_proto.h kconfig: create links in info window 2006-06-09 16:28:07 +02:00
mconf.c kconfig/menuconfig: do not let ncurses clutter screen on exit 2006-09-30 11:19:20 +02:00
menu.c kconfig: warn about leading whitespace for menu prompts 2006-06-09 16:28:07 +02:00
qconf.cc kconfig: jump to linked menu prompt 2006-06-09 16:28:07 +02:00
qconf.h kconfig: jump to linked menu prompt 2006-06-09 16:28:07 +02:00
symbol.c kconfig: add defconfig_list/module option 2006-06-09 07:31:30 +02:00
util.c kconfig: fix .config dependencies 2006-06-09 07:31:30 +02:00
zconf.gperf kconfig: add symbol option config syntax 2006-06-09 07:31:30 +02:00
zconf.hash.c_shipped kconfig: add symbol option config syntax 2006-06-09 07:31:30 +02:00
zconf.l [PATCH] kconfig: improve error handling in the parser 2005-11-09 07:55:54 -08:00
zconf.tab.c_shipped kconfig: add defconfig_list/module option 2006-06-09 07:31:30 +02:00
zconf.y kconfig: add defconfig_list/module option 2006-06-09 07:31:30 +02:00