From fe1ed68000d5e9d41ed48ef1202fd21c8b8c9ff8 Mon Sep 17 00:00:00 2001 From: Francois-Xavier Coudert Date: Sat, 11 May 2024 17:08:05 +0200 Subject: [PATCH] jit: Ensure ssize_t is defined On some targets it seems that ssize_t is not defined by any of the headers transitively included by . This leads to a bootstrap fail when jit is enabled. gcc/jit/ChangeLog: * libgccjit.h: Include --- gcc/jit/libgccjit.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gcc/jit/libgccjit.h b/gcc/jit/libgccjit.h index 1d5be27374e..03bfc0f58a5 100644 --- a/gcc/jit/libgccjit.h +++ b/gcc/jit/libgccjit.h @@ -21,6 +21,11 @@ along with GCC; see the file COPYING3. If not see #define LIBGCCJIT_H #include +#ifdef __has_include +#if __has_include () +#include +#endif +#endif #ifdef __cplusplus extern "C" { -- 2.47.2