$NetBSD$

--- ffmpeg-strip-wma/mem.c.orig	2003-03-06 11:32:02.000000000 +0000
+++ ffmpeg-strip-wma/mem.c
@@ -29,8 +29,11 @@
 #undef free
 #undef realloc
 
-#ifdef HAVE_MALLOC_H
-#include <malloc.h>
+#include <stdlib.h>
+#include <sys/param.h>
+
+#ifdef BSD
+#undef HAVE_MEMALIGN
 #endif
 
 /* you can redefine av_malloc and av_free in your project to use your
