acrn-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
Makefile kbuild: do not build mconf & lxdialog unless needed 2006-09-30 11:19:20 +02:00
POTFILES.in
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
images.c
kconfig_load.c
kxgettext.c
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
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
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