diff --git a/libopenjpeg/j2k.c b/libopenjpeg/j2k.c index 958c5fb3..aa866346 100644 --- a/libopenjpeg/j2k.c +++ b/libopenjpeg/j2k.c @@ -36,6 +36,8 @@ #include "opj_includes.h" #ifdef HAVE_INTTYPES_H #include /* PRIi64 */ +#else +#define PRIi64 "I64i" #endif /** @defgroup J2K J2K - JPEG-2000 codestream reader/writer */