contrib/zstd/lib/legacy/zstd_v07.c in extzstd-0.3.1 vs contrib/zstd/lib/legacy/zstd_v07.c in extzstd-0.3.2
- old
+ new
@@ -240,10 +240,14 @@
/*-**************************************************************
* Basic Types
*****************************************************************/
#if !defined (__VMS) && (defined (__cplusplus) || (defined (__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L) /* C99 */) )
-# include <stdint.h>
+# if defined(_AIX)
+# include <inttypes.h>
+# else
+# include <stdint.h> /* intptr_t */
+# endif
typedef uint8_t BYTE;
typedef uint16_t U16;
typedef int16_t S16;
typedef uint32_t U32;
typedef int32_t S32;