From: Wei Yang Date: Tue, 6 Aug 2024 01:03:18 +0000 (+0000) Subject: memblock test: fix implicit declaration of function 'isspace' X-Git-Tag: v6.12-rc1~50^2~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8ac13bc7c266102f1068faafa5314522b68ebe65;p=thirdparty%2Flinux.git memblock test: fix implicit declaration of function 'isspace' Commit 1e4c64b71c9b ("mm/memblock: Add "reserve_mem" to reserved named memory at boot up") introduce usage of isspace(). Let's include in kernel.h to fix this. Signed-off-by: Wei Yang Link: https://lore.kernel.org/r/20240806010319.29194-4-richard.weiyang@gmail.com Signed-off-by: Mike Rapoport (Microsoft) --- diff --git a/tools/testing/memblock/linux/kernel.h b/tools/testing/memblock/linux/kernel.h index c16d9cd2d1aee..4d1012d5be6eb 100644 --- a/tools/testing/memblock/linux/kernel.h +++ b/tools/testing/memblock/linux/kernel.h @@ -9,5 +9,6 @@ #include #include #include +#include #endif