From: Francois-Xavier Coudert Date: Sat, 11 May 2024 15:08:05 +0000 (+0200) Subject: jit: Ensure ssize_t is defined X-Git-Tag: basepoints/gcc-16~5860 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe1ed68000d5e9d41ed48ef1202fd21c8b8c9ff8;p=thirdparty%2Fgcc.git 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 --- 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" {