From c0d698859c36be611d465f968762f042853be817 Mon Sep 17 00:00:00 2001 From: "Reynaldo H. Verdejo Pinochet" Date: Wed, 4 Jan 2012 13:16:12 -0300 Subject: [PATCH] Fix wrong conditional inclusion of inttypes.h inttypes.h is required by encoder/ratecontrol.c for SCNxxx macros, and HAVE_STDINT_H does not imply having inttypes.h. stdint.h is a subset of inttypes.h, but this isn't enough for x264. This change fixes building x264 with Android's toolchain. --- common/osdep.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/common/osdep.h b/common/osdep.h index dbb0937f..a55b69d1 100644 --- a/common/osdep.h +++ b/common/osdep.h @@ -31,15 +31,10 @@ #define _FILE_OFFSET_BITS 64 #include #include +#include #include "config.h" -#if HAVE_STDINT_H -#include -#else -#include -#endif - #if !HAVE_LOG2F #define log2f(x) (logf(x)/0.693147180559945f) #define log2(x) (log(x)/0.693147180559945) -- 2.47.3