From ad730459eda013b73300c4841051a355332030f0 Mon Sep 17 00:00:00 2001
From: Bohdan Horst <nexus@irc.pl>
Date: Wed, 25 Aug 2004 00:01:34 +0000
Subject: [PATCH] bsd patch by (Bohdan Horst <nexus at irc dot pl>)

Originally committed as revision 3413 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 libavcodec/dtsdec.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/libavcodec/dtsdec.c b/libavcodec/dtsdec.c
index 397e74cceb5..128d60f9bad 100644
--- a/libavcodec/dtsdec.c
+++ b/libavcodec/dtsdec.c
@@ -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
-- 
GitLab