Among the review comments from the last round, Jakub suggested:

> Perhaps libgccjit.h could use
> #ifdef __has_include
> #if __has_include (<sys/types.h>)
> #include <sys/types.h>
> #endif
> #endif
> instead of just #include <sys/types.h>.

I’m not sure it’s necessary since other headers treat <sys/types.h> as always 
available, but I suppose it can’t hurt. So here is a revised patch as suggested.


Bootstrapped on x86_64-apple-darwin23. OK to push?

FX

Attachment: 0001-jit-Ensure-ssize_t-is-defined.patch
Description: Binary data

Reply via email to