aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2011-06-04 16:58:31 +0200
committerDiego Biurrun <diego@biurrun.de>2011-06-04 18:15:50 +0200
commit8d459acc10d865a82b1646f91a85ae99d998faa7 (patch)
tree1e129a70af8c61134e883b279a5b50521e24dd58
parent67ace7f0473ff968c7c615796b7a95c90fde68d2 (diff)
downloadffmpeg-8d459acc10d865a82b1646f91a85ae99d998faa7.tar.gz
Add missing #includes to make headers self-contained.
This fixes 'make checkheaders'.
-rw-r--r--libavcodec/mathops.h1
-rw-r--r--libavcodec/mpc.h1
-rw-r--r--libavcodec/mpegaudiodectab.h2
-rw-r--r--libavcodec/put_bits.h1
-rw-r--r--libavcodec/tableprint.h2
-rw-r--r--libavformat/network.h3
6 files changed, 8 insertions, 2 deletions
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 <stddef.h>
#include <stdint.h>
+
#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 <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)\
{\
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 <errno.h>
+
#include "config.h"
+#include "libavutil/error.h"
#include "os_support.h"
#if HAVE_WINSOCK2_H