From f5592fcff308007322a201c970a6d5e8763c9fe3 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Wed, 29 Oct 2014 15:41:28 +0100 Subject: Fix stdint.h problem for Apple. * gl/stdint_.h [__APPLE__]: Include hack. -- Patch suggested by Patrick Brunschwig. --- gl/stdint_.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gl/stdint_.h b/gl/stdint_.h index 19577e790..1118e8d39 100644 --- a/gl/stdint_.h +++ b/gl/stdint_.h @@ -55,6 +55,13 @@ # include @ABSOLUTE_STDINT_H@ #endif +#ifdef __APPLE__ + /* Apple's implementation of is bugy; we therefore use + the source definitions. */ +# include <_types/_intmax_t.h> +# include <_types/_uintmax_t.h> +#endif + /* defines some of the stdint.h types as well, on glibc, IRIX 6.5, and OpenBSD 3.8 (via ). MacOS X 10.4.6 includes (which is us), but -- cgit v1.2.3