diff --git a/include/prism/defines.h b/include/prism/defines.h index fd34ca09d4..26a3d8ea8e 100644 --- a/include/prism/defines.h +++ b/include/prism/defines.h @@ -23,6 +23,9 @@ * some platforms they aren't included unless this is already defined. */ #define __STDC_FORMAT_MACROS +// Include sys/types.h before inttypes.h to work around issue with +// certain versions of GCC and newlib which causes omission of PRIx64 +#include #include /**