1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-10-27 12:15:39 +03:00

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 9be489d778 for details.

Reported-by: Joseph Myers <josmyers@redhat.com>
Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
This commit is contained in:
Yury Khrustalev
2025-09-17 11:45:09 +01:00
parent 1fa5773eb1
commit 3fd794264e
2 changed files with 4 additions and 0 deletions

View File

@@ -19,6 +19,7 @@
#ifndef SUPPORT_CHECK_MEM_ACCESS_H
#define SUPPORT_CHECK_MEM_ACCESS_H
#include <stdbool.h>
#include <sys/cdefs.h>
__BEGIN_DECLS

View File

@@ -19,8 +19,11 @@
#include <setjmp.h>
#include <signal.h>
#include <stddef.h>
#include <support/xsignal.h>
#include "check_mem_access.h"
static sigjmp_buf sigsegv_jmp_buf;
static void