From: Diego Biurrun Date: Sat, 4 Jun 2011 14:58:31 +0000 (+0200) Subject: Add missing #includes to make headers self-contained. X-Git-Tag: android-x86-4.4-r1~12310^2~987 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=8d459acc10d865a82b1646f91a85ae99d998faa7;p=android-x86%2Fexternal-ffmpeg.git Add missing #includes to make headers self-contained. This fixes 'make checkheaders'. --- diff --git a/libavcodec/mathops.h b/libavcodec/mathops.h index d74bc1ed70..98c9acf5ce 100644 --- a/libavcodec/mathops.h +++ b/libavcodec/mathops.h @@ -23,6 +23,7 @@ #define AVCODEC_MATHOPS_H #include "libavutil/common.h" +#include "config.h" #if ARCH_ARM # include "arm/mathops.h" diff --git a/libavcodec/mpc.h b/libavcodec/mpc.h index f73c658f7d..6d0f7b45bb 100644 --- a/libavcodec/mpc.h +++ b/libavcodec/mpc.h @@ -34,6 +34,7 @@ #include "get_bits.h" #include "dsputil.h" #include "mpegaudio.h" +#include "mpegaudiodsp.h" #define BANDS 32 #define SAMPLES_PER_BAND 36 diff --git a/libavcodec/mpegaudiodectab.h b/libavcodec/mpegaudiodectab.h index 041d1860b7..1221657988 100644 --- a/libavcodec/mpegaudiodectab.h +++ b/libavcodec/mpegaudiodectab.h @@ -27,7 +27,9 @@ #ifndef AVCODEC_MPEGAUDIODECTAB_H #define AVCODEC_MPEGAUDIODECTAB_H +#include #include + #include "mpegaudio.h" /*******************************************************/ diff --git a/libavcodec/put_bits.h b/libavcodec/put_bits.h index c426540291..3849e6d339 100644 --- a/libavcodec/put_bits.h +++ b/libavcodec/put_bits.h @@ -34,6 +34,7 @@ #include "libavutil/intreadwrite.h" #include "libavutil/log.h" #include "mathops.h" +#include "config.h" //#define ALT_BITSTREAM_WRITER //#define ALIGNED_BITSTREAM_WRITER diff --git a/libavcodec/tableprint.h b/libavcodec/tableprint.h index ddf2635da0..de355fc0aa 100644 --- a/libavcodec/tableprint.h +++ b/libavcodec/tableprint.h @@ -26,8 +26,6 @@ #include #include -#include "libavutil/common.h" - #define WRITE_1D_FUNC_ARGV(type, linebrk, fmtstr, ...)\ void write_##type##_array(const type *data, int len)\ {\ diff --git a/libavformat/network.h b/libavformat/network.h index db8466ce20..80d094a0de 100644 --- a/libavformat/network.h +++ b/libavformat/network.h @@ -21,7 +21,10 @@ #ifndef AVFORMAT_NETWORK_H #define AVFORMAT_NETWORK_H +#include + #include "config.h" +#include "libavutil/error.h" #include "os_support.h" #if HAVE_WINSOCK2_H