changeset 12838:1d6892e87a2c

fix altivec.h inclusion (vector keyword in structure)
author alex
date Sat, 17 Jul 2004 08:56:47 +0000
parents ec86a77cb6f4
children 88433340bfdc
files postproc/swscale.c postproc/swscale_internal.h
diffstat 2 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/postproc/swscale.c	Sat Jul 17 08:53:20 2004 +0000
+++ b/postproc/swscale.c	Sat Jul 17 08:56:47 2004 +0000
@@ -61,9 +61,6 @@
 #else
 #include <stdlib.h>
 #endif
-#ifdef HAVE_ALTIVEC_H
-#include <altivec.h>
-#endif
 #include "swscale.h"
 #include "swscale_internal.h"
 #include "../cpudetect.h"
--- a/postproc/swscale_internal.h	Sat Jul 17 08:53:20 2004 +0000
+++ b/postproc/swscale_internal.h	Sat Jul 17 08:56:47 2004 +0000
@@ -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 )