Commit 8d459acc authored by Diego Biurrun's avatar Diego Biurrun

Add missing #includes to make headers self-contained.

This fixes 'make checkheaders'.
parent 67ace7f0
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
#define AVCODEC_MATHOPS_H #define AVCODEC_MATHOPS_H
#include "libavutil/common.h" #include "libavutil/common.h"
#include "config.h"
#if ARCH_ARM #if ARCH_ARM
# include "arm/mathops.h" # include "arm/mathops.h"
......
...@@ -34,6 +34,7 @@ ...@@ -34,6 +34,7 @@
#include "get_bits.h" #include "get_bits.h"
#include "dsputil.h" #include "dsputil.h"
#include "mpegaudio.h" #include "mpegaudio.h"
#include "mpegaudiodsp.h"
#define BANDS 32 #define BANDS 32
#define SAMPLES_PER_BAND 36 #define SAMPLES_PER_BAND 36
......
...@@ -27,7 +27,9 @@ ...@@ -27,7 +27,9 @@
#ifndef AVCODEC_MPEGAUDIODECTAB_H #ifndef AVCODEC_MPEGAUDIODECTAB_H
#define AVCODEC_MPEGAUDIODECTAB_H #define AVCODEC_MPEGAUDIODECTAB_H
#include <stddef.h>
#include <stdint.h> #include <stdint.h>
#include "mpegaudio.h" #include "mpegaudio.h"
/*******************************************************/ /*******************************************************/
......
...@@ -34,6 +34,7 @@ ...@@ -34,6 +34,7 @@
#include "libavutil/intreadwrite.h" #include "libavutil/intreadwrite.h"
#include "libavutil/log.h" #include "libavutil/log.h"
#include "mathops.h" #include "mathops.h"
#include "config.h"
//#define ALT_BITSTREAM_WRITER //#define ALT_BITSTREAM_WRITER
//#define ALIGNED_BITSTREAM_WRITER //#define ALIGNED_BITSTREAM_WRITER
......
...@@ -26,8 +26,6 @@ ...@@ -26,8 +26,6 @@
#include <inttypes.h> #include <inttypes.h>
#include <stdio.h> #include <stdio.h>
#include "libavutil/common.h"
#define WRITE_1D_FUNC_ARGV(type, linebrk, fmtstr, ...)\ #define WRITE_1D_FUNC_ARGV(type, linebrk, fmtstr, ...)\
void write_##type##_array(const type *data, int len)\ void write_##type##_array(const type *data, int len)\
{\ {\
......
...@@ -21,7 +21,10 @@ ...@@ -21,7 +21,10 @@
#ifndef AVFORMAT_NETWORK_H #ifndef AVFORMAT_NETWORK_H
#define AVFORMAT_NETWORK_H #define AVFORMAT_NETWORK_H
#include <errno.h>
#include "config.h" #include "config.h"
#include "libavutil/error.h"
#include "os_support.h" #include "os_support.h"
#if HAVE_WINSOCK2_H #if HAVE_WINSOCK2_H
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment