[FFmpeg-cvslog] Add missing #includes to make headers self-contained.
Diego Biurrun
git at videolan.org
Sun Jun 5 03:21:57 CEST 2011
ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Sat Jun 4 16:58:31 2011 +0200| [8d459acc10d865a82b1646f91a85ae99d998faa7] | committer: Diego Biurrun
Add missing #includes to make headers self-contained.
This fixes 'make checkheaders'.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8d459acc10d865a82b1646f91a85ae99d998faa7
---
libavcodec/mathops.h | 1 +
libavcodec/mpc.h | 1 +
libavcodec/mpegaudiodectab.h | 2 ++
libavcodec/put_bits.h | 1 +
libavcodec/tableprint.h | 2 --
libavformat/network.h | 3 +++
6 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/libavcodec/mathops.h b/libavcodec/mathops.h
index d74bc1e..98c9acf 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 f73c658..6d0f7b4 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 041d186..1221657 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 c426540..3849e6d 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 ddf2635..de355fc 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 db8466c..80d094a 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
More information about the ffmpeg-cvslog
mailing list