From 9ff18a70895e246148980d5b7450ed0f22d3717c Mon Sep 17 00:00:00 2001
From: Michael Niedermayer <michaelni@gmx.at>
Date: Thu, 1 Jul 2004 12:33:07 +0000
Subject: [PATCH] 10l

Originally committed as revision 3282 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 libavcodec/common.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/libavcodec/common.h b/libavcodec/common.h
index ff7e0169847..22947916d97 100644
--- a/libavcodec/common.h
+++ b/libavcodec/common.h
@@ -30,6 +30,7 @@
 #    include <stdio.h>
 #    include <string.h>
 #    include <ctype.h>
+#    include <limits.h>
 #    ifndef __BEOS__
 #        include <errno.h>
 #    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
-- 
GitLab