diff options
-rw-r--r-- | common/scummsys.h | 7 | ||||
-rw-r--r-- | graphics/animation.h | 3 |
2 files changed, 10 insertions, 0 deletions
diff --git a/common/scummsys.h b/common/scummsys.h index fa9b639e1e..27be0cb28e 100644 --- a/common/scummsys.h +++ b/common/scummsys.h @@ -70,6 +70,13 @@ typedef signed short int16; typedef signed long int32; + typedef int8 int8_t; + typedef int16 int16_t; + typedef int32 int32_t; + typedef uint8 uint8_t; + typedef uint16 uint16_t; + typedef uint32 uint32_t; + #define START_PACK_STRUCTS pack(push, 1) #define END_PACK_STRUCTS pack(pop) diff --git a/graphics/animation.h b/graphics/animation.h index 5165ba7b0b..c3ee5179ae 100644 --- a/graphics/animation.h +++ b/graphics/animation.h @@ -33,7 +33,10 @@ class AudioStream; #ifdef USE_MPEG2 +#if !defined(_MSC_VER) #include <inttypes.h> +#endif + extern "C" { #include <mpeg2dec/mpeg2.h> } |