$OpenBSD: patch-libavcodec_mem_c,v 1.1.1.1 2003/07/19 18:16:34 jolan Exp $
--- libavcodec/mem.c.orig	Thu Mar  6 05:32:02 2003
+++ libavcodec/mem.c	Wed Jul 16 20:11:37 2003
@@ -29,9 +29,10 @@
 #undef free
 #undef realloc
 
-#ifdef HAVE_MALLOC_H
+/*#ifdef HAVE_MALLOC_H
 #include <malloc.h>
-#endif
+#endif*/
+#include <stdlib.h>
 
 /* you can redefine av_malloc and av_free in your project to use your
    memory allocator. You do not need to suppress this file because the
