[vlc-devel] commit: Include altivec.h before any other vlc header (Alexis Ballier )

git version control git at videolan.org
Sat May 31 10:18:53 CEST 2008


vlc | branch: master | Alexis Ballier <aballier at gentoo.org> | Sat May 31 10:14:02 2008 +0200| [6af454000084721920ae7a50c53c921b68d88c6d]

Include altivec.h before any other vlc header

Including it after stdbool will cause compile failures as pointed by
Mike Frysinger in https://bugs.gentoo.org/show_bug.cgi?id=224289

Signed-off-by: Rémi Denis-Courmont <rem at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6af454000084721920ae7a50c53c921b68d88c6d
---

 modules/video_filter/deinterlace.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/modules/video_filter/deinterlace.c b/modules/video_filter/deinterlace.c
index 5dc4eeb..e65a7df 100644
--- a/modules/video_filter/deinterlace.c
+++ b/modules/video_filter/deinterlace.c
@@ -30,16 +30,16 @@
 # include "config.h"
 #endif
 
+#ifdef HAVE_ALTIVEC_H
+#   include <altivec.h>
+#endif
+
 #include <vlc/vlc.h>
 #include <vlc_plugin.h>
 #include <vlc_vout.h>
 #include <vlc_sout.h>
 #include "vlc_filter.h"
 
-#ifdef HAVE_ALTIVEC_H
-#   include <altivec.h>
-#endif
-
 #ifdef CAN_COMPILE_MMXEXT
 #   include "mmx.h"
 #endif




More information about the vlc-devel mailing list