aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2009-01-24 14:55:30 +0000
committerDiego Biurrun <diego@biurrun.de>2009-01-24 14:55:30 +0000
commitdfcb6b56f9e58106b6520af8c5fa6760556919eb (patch)
treec45d1cb1f0a9b77ea94a7415f713a3f939c3be5c /libavutil
parentda837937c6631ffd37f3bdc7c7d2ddd7658e4c13 (diff)
downloadffmpeg-dfcb6b56f9e58106b6520af8c5fa6760556919eb.tar.gz
Directly #include a bunch of indirectly #included headers.
Originally committed as revision 16748 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil')
-rw-r--r--libavutil/mathematics.c1
-rw-r--r--libavutil/mem.c3
-rw-r--r--libavutil/mem.h1
-rw-r--r--libavutil/rational.c1
4 files changed, 6 insertions, 0 deletions
diff --git a/libavutil/mathematics.c b/libavutil/mathematics.c
index eed2241471..8b37cf20fd 100644
--- a/libavutil/mathematics.c
+++ b/libavutil/mathematics.c
@@ -23,6 +23,7 @@
* Miscellaneous math routines and tables.
*/
+#include <assert.h>
#include "common.h"
#include "mathematics.h"
diff --git a/libavutil/mem.c b/libavutil/mem.c
index db3234a343..1b960f2911 100644
--- a/libavutil/mem.c
+++ b/libavutil/mem.c
@@ -24,6 +24,7 @@
* default memory allocator for libavutil.
*/
+#include "config.h"
#include "common.h"
/* here we can use OS dependent allocation functions */
@@ -31,7 +32,9 @@
#undef free
#undef realloc
+#include <limits.h>
#include <stdlib.h>
+#include <string.h>
#if HAVE_MALLOC_H
#include <malloc.h>
#endif
diff --git a/libavutil/mem.h b/libavutil/mem.h
index ec6e3b7456..19d15f0af3 100644
--- a/libavutil/mem.h
+++ b/libavutil/mem.h
@@ -26,6 +26,7 @@
#ifndef AVUTIL_MEM_H
#define AVUTIL_MEM_H
+#include "config.h"
#include "common.h"
#if defined(__ICC) || defined(__SUNPRO_C)
diff --git a/libavutil/rational.c b/libavutil/rational.c
index 4c0216e60f..f7750e9e98 100644
--- a/libavutil/rational.c
+++ b/libavutil/rational.c
@@ -25,6 +25,7 @@
* @author Michael Niedermayer <michaelni@gmx.at>
*/
+#include <assert.h>
//#include <math.h>
#include <limits.h>