OSDN Git Service

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 d74bc1e..98c9acf 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 f73c658..6d0f7b4 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 041d186..1221657 100644 (file)
@@ -27,7 +27,9 @@
 #ifndef AVCODEC_MPEGAUDIODECTAB_H
 #define AVCODEC_MPEGAUDIODECTAB_H
 
+#include <stddef.h>
 #include <stdint.h>
+
 #include "mpegaudio.h"
 
 /*******************************************************/
index c426540..3849e6d 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 ddf2635..de355fc 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 db8466c..80d094a 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