Mercurial > mplayer.hg
changeset 30636:93379281129d
Add malloc.h #include for memalign(), fixes the warning:
libmpcodecs/vd_dmo.c:81: warning: implicit declaration of function 'memalign'
author | diego |
---|---|
date | Sun, 21 Feb 2010 12:48:56 +0000 |
parents | 9f184c7776f1 |
children | 0947ead7e81b |
files | libmpcodecs/vd_dmo.c |
diffstat | 1 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpcodecs/vd_dmo.c Sat Feb 20 21:53:11 2010 +0000 +++ b/libmpcodecs/vd_dmo.c Sun Feb 21 12:48:56 2010 +0000 @@ -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"