fix altivec.h inclusion (vector keyword in structure)

Originally committed as revision 12839 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
This commit is contained in:
Alex Beregszaszi 2004-07-17 08:56:47 +00:00
parent 95d45b1e64
commit f2015f0c50
2 changed files with 4 additions and 3 deletions

View File

@ -61,9 +61,6 @@ untested special converters
#else
#include <stdlib.h>
#endif
#ifdef HAVE_ALTIVEC_H
#include <altivec.h>
#endif
#include "swscale.h"
#include "swscale_internal.h"
#include "../cpudetect.h"

View File

@ -19,6 +19,10 @@
#ifndef SWSCALE_INTERNAL_H
#define SWSCALE_INTERNAL_H
#ifdef HAVE_ALTIVEC_H
#include <altivec.h>
#endif
#include "../mp_msg.h"
#define MSG_WARN(args...) mp_msg(MSGT_SWS,MSGL_WARN, ##args )