OSDN Git Service

Directly #include a bunch of indirectly #included headers.
authorDiego Biurrun <diego@biurrun.de>
Sat, 24 Jan 2009 14:55:30 +0000 (14:55 +0000)
committerDiego Biurrun <diego@biurrun.de>
Sat, 24 Jan 2009 14:55:30 +0000 (14:55 +0000)
Originally committed as revision 16748 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavutil/mathematics.c
libavutil/mem.c
libavutil/mem.h
libavutil/rational.c

index eed2241..8b37cf2 100644 (file)
@@ -23,6 +23,7 @@
  * Miscellaneous math routines and tables.
  */
 
+#include <assert.h>
 #include "common.h"
 #include "mathematics.h"
 
index db3234a..1b960f2 100644 (file)
@@ -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
index ec6e3b7..19d15f0 100644 (file)
@@ -26,6 +26,7 @@
 #ifndef AVUTIL_MEM_H
 #define AVUTIL_MEM_H
 
+#include "config.h"
 #include "common.h"
 
 #if defined(__ICC) || defined(__SUNPRO_C)
index 4c0216e..f7750e9 100644 (file)
@@ -25,6 +25,7 @@
  * @author Michael Niedermayer <michaelni@gmx.at>
  */
 
+#include <assert.h>
 //#include <math.h>
 #include <limits.h>