2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-14 16:23:51 +08:00
linux-next/scripts/kconfig/lxdialog
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
..
.gitignore gitignore: ignore more generated files 2006-01-03 11:35:26 +01:00
BIG.FAT.WARNING kconfig: move lxdialog to scripts/kconfig/lxdialog 2005-12-16 21:35:19 +01:00
check-lxdialog.sh kconfig: fix /dev/null breakage 2006-01-21 12:03:09 +01:00
checklist.c kconfig/lxdialog: support resize 2006-09-30 11:19:20 +02:00
dialog.h [PATCH] Fix menuconfig build failure due to missing stdbool.h 2006-10-11 11:14:14 -07:00
inputbox.c kconfig/lxdialog: support resize 2006-09-30 11:19:20 +02:00
menubox.c kconfig/lxdialog: clear long menu lines 2006-09-30 11:19:20 +02:00
textbox.c kconfig/lxdialog: support resize 2006-09-30 11:19:20 +02:00
util.c kconfig/lxdialog: support resize 2006-09-30 11:19:20 +02:00
yesno.c kconfig/lxdialog: support resize 2006-09-30 11:19:20 +02:00