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:
@@ -19,6 +19,7 @@
|
|||||||
#ifndef SUPPORT_CHECK_MEM_ACCESS_H
|
#ifndef SUPPORT_CHECK_MEM_ACCESS_H
|
||||||
#define SUPPORT_CHECK_MEM_ACCESS_H
|
#define SUPPORT_CHECK_MEM_ACCESS_H
|
||||||
|
|
||||||
|
#include <stdbool.h>
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
|
|
||||||
__BEGIN_DECLS
|
__BEGIN_DECLS
|
||||||
|
|||||||
@@ -19,8 +19,11 @@
|
|||||||
|
|
||||||
#include <setjmp.h>
|
#include <setjmp.h>
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
|
#include <stddef.h>
|
||||||
#include <support/xsignal.h>
|
#include <support/xsignal.h>
|
||||||
|
|
||||||
|
#include "check_mem_access.h"
|
||||||
|
|
||||||
static sigjmp_buf sigsegv_jmp_buf;
|
static sigjmp_buf sigsegv_jmp_buf;
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|||||||
Reference in New Issue
Block a user