From 3fd794264e3f062bfbf0c8727cef82f16d51450b Mon Sep 17 00:00:00 2001 From: Yury Khrustalev Date: Wed, 17 Sep 2025 11:45:09 +0100 Subject: [PATCH] support: fix build failure due to lack of stdbool.h On some targets using bool in support/check_mem_access.h resulted in build error due to stdbool.h not being included, fix this. See 9be489d77867dd2444ecc044a5f3049d1751ee85 for details. Reported-by: Joseph Myers Reviewed-by: Adhemerval Zanella --- support/check_mem_access.h | 1 + support/support_mem_access.c | 3 +++ 2 files changed, 4 insertions(+) diff --git a/support/check_mem_access.h b/support/check_mem_access.h index 116e1f7c8a..424fa40c3a 100644 --- a/support/check_mem_access.h +++ b/support/check_mem_access.h @@ -19,6 +19,7 @@ #ifndef SUPPORT_CHECK_MEM_ACCESS_H #define SUPPORT_CHECK_MEM_ACCESS_H +#include #include __BEGIN_DECLS diff --git a/support/support_mem_access.c b/support/support_mem_access.c index aa5127b41f..e5a1666106 100644 --- a/support/support_mem_access.c +++ b/support/support_mem_access.c @@ -19,8 +19,11 @@ #include #include +#include #include +#include "check_mem_access.h" + static sigjmp_buf sigsegv_jmp_buf; static void -- 2.47.3