diff --git a/libavcodec/common.h b/libavcodec/common.h index ff7e016984..22947916d9 100644 --- a/libavcodec/common.h +++ b/libavcodec/common.h @@ -30,6 +30,7 @@ # include # include # include +# include # ifndef __BEOS__ # include # else @@ -130,7 +131,7 @@ typedef unsigned int uint_fast32_t; #endif #ifndef INT_BIT -# if INT_MAX == INT64_MAX +# if INT_MAX != 2147483647 # define INT_BIT 64 # else # define INT_BIT 32