changeset 618:e0bf946f7d23 libavutil

Directly #include a bunch of indirectly #included headers.
author diego
date Sat, 24 Jan 2009 14:55:30 +0000
parents 96a457934740
children c309f86c05a2
files mathematics.c mem.c mem.h rational.c
diffstat 4 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mathematics.c	Wed Jan 21 23:55:51 2009 +0000
+++ b/mathematics.c	Sat Jan 24 14:55:30 2009 +0000
@@ -23,6 +23,7 @@
  * Miscellaneous math routines and tables.
  */
 
+#include <assert.h>
 #include "common.h"
 #include "mathematics.h"
 
--- a/mem.c	Wed Jan 21 23:55:51 2009 +0000
+++ b/mem.c	Sat Jan 24 14:55:30 2009 +0000
@@ -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
--- a/mem.h	Wed Jan 21 23:55:51 2009 +0000
+++ b/mem.h	Sat Jan 24 14:55:30 2009 +0000
@@ -26,6 +26,7 @@
 #ifndef AVUTIL_MEM_H
 #define AVUTIL_MEM_H
 
+#include "config.h"
 #include "common.h"
 
 #if defined(__ICC) || defined(__SUNPRO_C)
--- a/rational.c	Wed Jan 21 23:55:51 2009 +0000
+++ b/rational.c	Sat Jan 24 14:55:30 2009 +0000
@@ -25,6 +25,7 @@
  * @author Michael Niedermayer <michaelni@gmx.at>
  */
 
+#include <assert.h>
 //#include <math.h>
 #include <limits.h>