summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-07-17 08:56:47 +0000
committeralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-07-17 08:56:47 +0000
commit85c3622f1c54ceb909e65696ff8a1f2cc61e167a (patch)
treeb0ee7ea39cc7a0ab45e623a69e8ef06da28bffe4
parent82e3eeea4ff34d03f55d0c6c9bb21ebca73950f7 (diff)
downloadmpv-85c3622f1c54ceb909e65696ff8a1f2cc61e167a.tar.bz2
mpv-85c3622f1c54ceb909e65696ff8a1f2cc61e167a.tar.xz
fix altivec.h inclusion (vector keyword in structure)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12839 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--postproc/swscale.c3
-rw-r--r--postproc/swscale_internal.h4
2 files changed, 4 insertions, 3 deletions
diff --git a/postproc/swscale.c b/postproc/swscale.c
index 891352121c..dbe7203383 100644
--- a/postproc/swscale.c
+++ b/postproc/swscale.c
@@ -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"
diff --git a/postproc/swscale_internal.h b/postproc/swscale_internal.h
index c6d5a2f974..c7761ee1a4 100644
--- a/postproc/swscale_internal.h
+++ b/postproc/swscale_internal.h
@@ -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 )