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 <stdio.h>. This leads to a bootstrap fail when jit is enabled. gcc/jit/ChangeLog: * libgccjit.h: Include <sys/types.h>
This commit is contained in:
parent
4b03750f8c
commit
fe1ed68000
1 changed files with 5 additions and 0 deletions
|
@ -21,6 +21,11 @@ along with GCC; see the file COPYING3. If not see
|
|||
#define LIBGCCJIT_H
|
||||
|
||||
#include <stdio.h>
|
||||
#ifdef __has_include
|
||||
#if __has_include (<sys/types.h>)
|
||||
#include <sys/types.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
|
Loading…
Add table
Reference in a new issue