diff --git a/gcc/jit/libgccjit.h b/gcc/jit/libgccjit.h index 057d3e58e739..29e01eab251b 100644 --- a/gcc/jit/libgccjit.h +++ b/gcc/jit/libgccjit.h @@ -21,6 +21,9 @@ along with GCC; see the file COPYING3. If not see #define LIBGCCJIT_H #include +#if __has_include() +# include /* For ssize_t. */ +#endif #ifdef __cplusplus extern "C" {