diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/jit/libgccjit.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/jit/libgccjit.h b/gcc/jit/libgccjit.h index 1d5be27..03bfc0f 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 <stdio.h> +#ifdef __has_include +#if __has_include (<sys/types.h>) +#include <sys/types.h> +#endif +#endif #ifdef __cplusplus extern "C" { |