diff --git a/libavcodec/dtsdec.c b/libavcodec/dtsdec.c index 397e74cceb..128d60f9ba 100644 --- a/libavcodec/dtsdec.c +++ b/libavcodec/dtsdec.c @@ -28,7 +28,10 @@ #include #include + +#ifdef HAVE_MALLOC_H #include +#endif #define INBUF_SIZE 4096 #define BUFFER_SIZE 4096