summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-02-21 12:48:56 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-02-21 12:48:56 +0000
commitd819c05ceddeb14c36ad23c6f4053afd3b42f725 (patch)
treeb9966ae37f2a75767ca91cdf54eb56d5d0537b27
parentaa0b21ab9fc691fb88abd65f19108aa8240c2498 (diff)
downloadmpv-d819c05ceddeb14c36ad23c6f4053afd3b42f725.tar.bz2
mpv-d819c05ceddeb14c36ad23c6f4053afd3b42f725.tar.xz
Add malloc.h #include for memalign(), fixes the warning:
libmpcodecs/vd_dmo.c:81: warning: implicit declaration of function 'memalign' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30678 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--libmpcodecs/vd_dmo.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/libmpcodecs/vd_dmo.c b/libmpcodecs/vd_dmo.c
index 00ee09bc05..0b2e20e90e 100644
--- a/libmpcodecs/vd_dmo.c
+++ b/libmpcodecs/vd_dmo.c
@@ -16,12 +16,15 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#include "config.h"
+
+#if HAVE_MALLOC_H
+#include <malloc.h>
+#endif
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
-#include "config.h"
-
#include "mp_msg.h"
#include "help_mp.h"