diff mem.c @ 618:e0bf946f7d23 libavutil

Directly #include a bunch of indirectly #included headers.
author diego
date Sat, 24 Jan 2009 14:55:30 +0000
parents ed203c477511
children fb9c03d5c69c
line wrap: on
line diff
--- 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