Add missing #includes to make headers self-contained.
authorDiego Biurrun <diego@biurrun.de>
Sat, 4 Jun 2011 14:58:31 +0000 (16:58 +0200)
committerDiego Biurrun <diego@biurrun.de>
Sat, 4 Jun 2011 16:15:50 +0000 (18:15 +0200)
This fixes 'make checkheaders'.

libavcodec/mathops.h
libavcodec/mpc.h
libavcodec/mpegaudiodectab.h
libavcodec/put_bits.h
libavcodec/tableprint.h
libavformat/network.h

index d74bc1ed70e8bec5ac1b0b38e755cc2209d696ff..98c9acf5ce260e58b60d5fbc4e210315976d6061 100644 (file)
@@ -23,6 +23,7 @@
 #define AVCODEC_MATHOPS_H
 
 #include "libavutil/common.h"
+#include "config.h"
 
 #if   ARCH_ARM
 #   include "arm/mathops.h"
index f73c658f7d491dbaadaf1d2e61a9be1bb7299fff..6d0f7b45bbaea2dc379fa77c20b6d3e47b600b83 100644 (file)
@@ -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
index 041d1860b72fe24b81581aa87c9aecff932818ce..12216579880a9aa464574de026763fc82abb1b73 100644 (file)
@@ -27,7 +27,9 @@
 #ifndef AVCODEC_MPEGAUDIODECTAB_H
 #define AVCODEC_MPEGAUDIODECTAB_H
 
+#include <stddef.h>
 #include <stdint.h>
+
 #include "mpegaudio.h"
 
 /*******************************************************/
index c426540291a56c2a066fa006dbb9b3806036fecf..3849e6d339c396258c50496c78de0b237fa14c05 100644 (file)
@@ -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
index ddf2635da03a18e19bc8176d3f9908b82d58c43b..de355fc0aaa923d4d45944bc10c16414cdb48049 100644 (file)
@@ -26,8 +26,6 @@
 #include <inttypes.h>
 #include <stdio.h>
 
-#include "libavutil/common.h"
-
 #define WRITE_1D_FUNC_ARGV(type, linebrk, fmtstr, ...)\
 void write_##type##_array(const type *data, int len)\
 {\
index db8466ce20344e204e6043d566f3d8bc9c53b0fa..80d094a0deaa36f1e637186491a75e488c64c880 100644 (file)
 #ifndef AVFORMAT_NETWORK_H
 #define AVFORMAT_NETWORK_H
 
+#include <errno.h>
+
 #include "config.h"
+#include "libavutil/error.h"
 #include "os_support.h"
 
 #if HAVE_WINSOCK2_H