diff options
Diffstat (limited to 'lib/legacy/zstd_v04.c')
-rw-r--r-- | lib/legacy/zstd_v04.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/legacy/zstd_v04.c b/lib/legacy/zstd_v04.c index 56bf45222498..77d52555b313 100644 --- a/lib/legacy/zstd_v04.c +++ b/lib/legacy/zstd_v04.c @@ -52,7 +52,11 @@ extern "C" { * Basic Types *****************************************************************/ #if 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; @@ -74,7 +78,7 @@ extern "C" { /*-************************************* * Debug ***************************************/ -#include "debug.h" +#include "../common/debug.h" #ifndef assert # define assert(condition) ((void)0) #endif |