Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

André Almeida and committed by
Thomas Weißschuh
2d965c1a 0ff52df6

+1
+1
tools/include/nolibc/nolibc.h
··· 116 116 #include "sched.h" 117 117 #include "signal.h" 118 118 #include "unistd.h" 119 + #include "stdbool.h" 119 120 #include "stdio.h" 120 121 #include "stdlib.h" 121 122 #include "string.h"