tools/nolibc: add stdbool.h to nolibc includes
authorAndré Almeida <andrealmeid@igalia.com>
Thu, 25 Sep 2025 14:14:23 +0000 (11:14 -0300)
committerThomas Weißschuh <linux@weissschuh.net>
Thu, 25 Sep 2025 16:47:08 +0000 (18:47 +0200)
commit2d965c1ae4135ed6f505661458f6dabd39488dac
treecf98fee732eec0d2ee9c341e4b30e4efefd66b45
parent0ff52df6b32a6b04a7c9dfe3d7a387aff215b482
tools/nolibc: add stdbool.h to nolibc includes

Otherwise tests compiled with only "-include nolibc.h" will fail with
"error: unknown type name 'bool'", even though a stdbool.h is available
from nolibc.

Fixes: ae1f550efc11 ("tools/nolibc: add stdbool.h header")
Fixes: f2662ec26b26 ("selftests: kselftest: Create ksft_print_dbg_msg()")
Reported-by: Mark Brown <broonie@kernel.org>
Closes: https://lore.kernel.org/lkml/833f5ae5-190e-47ec-9ad9-127ad166c80c@sirena.org.uk/
Signed-off-by: André Almeida <andrealmeid@igalia.com>
[Thomas: add Fixes tags and massage commit message a bit]
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
tools/include/nolibc/nolibc.h