summaryrefslogtreecommitdiffstats
path: root/libavutil/mem.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavutil/mem.c')
-rw-r--r--libavutil/mem.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavutil/mem.c b/libavutil/mem.c
index db3234a..1b960f2 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
OpenPOWER on IntegriCloud