diff --git a/src/simulator/cairo-wideint-private.h b/src/simulator/cairo-wideint-private.h index b8b806d7d..6c8358b9f 100644 --- a/src/simulator/cairo-wideint-private.h +++ b/src/simulator/cairo-wideint-private.h @@ -36,6 +36,13 @@ #define cairo_private #define HAVE_UINT64_T 1 +/*for compatibility with MacOS*/ +#ifndef HAVE_STDINT_H +#ifdef __APPLE__ +#define HAVE_STDINT_H 1 +#endif +#endif + #if HAVE_STDINT_H # include #elif HAVE_INTTYPES_H