# HG changeset patch # User diego # Date 1266756536 0 # Node ID 93379281129de31c6a600b8e642d0f8cca0baa95 # Parent 9f184c7776f1d43712d9b004f1d84aa9536d1ddf Add malloc.h #include for memalign(), fixes the warning: libmpcodecs/vd_dmo.c:81: warning: implicit declaration of function 'memalign' diff -r 9f184c7776f1 -r 93379281129d libmpcodecs/vd_dmo.c --- 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 +#endif #include #include #include -#include "config.h" - #include "mp_msg.h" #include "help_mp.h"