changeset 2186:be0ad4f3e8ea libavcodec

bsd patch by (Bohdan Horst <nexus at irc dot pl>)
author michael
date Wed, 25 Aug 2004 00:01:34 +0000
parents 784c38a3ffc2
children eedd352930b2
files dtsdec.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/dtsdec.c	Tue Aug 24 16:33:55 2004 +0000
+++ b/dtsdec.c	Wed Aug 25 00:01:34 2004 +0000
@@ -28,7 +28,10 @@
 
 #include <stdlib.h>
 #include <string.h>
+
+#ifdef HAVE_MALLOC_H
 #include <malloc.h>
+#endif
 
 #define INBUF_SIZE 4096
 #define BUFFER_SIZE 4096