# HG changeset patch
# User Diego 'Flameeyes' Pettenò <[EMAIL PROTECTED]>
# Date 1181387083 -7200
# Node ID 4e4972cef8cfc79c45659c4d8a5a8fe0d70579ec
# Parent  4a9a847647faaf9aa42dd244d3005bd94b716993
signal.h and setjmp.h are needed on PPC and SPARC too.

diff -r 4e4972cef8cfc79c45659c4d8a5a8fe0d70579ec -r 
4a9a847647faaf9aa42dd244d3005bd94b716993 src/xine-utils/cpu_accel.c
--- a/src/xine-utils/cpu_accel.c        Sat Jun 09 13:04:43 2007 +0200
+++ b/src/xine-utils/cpu_accel.c        Sat Jun 09 13:04:05 2007 +0200
@@ -186,6 +186,9 @@ static uint32_t arch_accel (void)
 #endif /* i386 or x86_64 */
 
 #if defined(ARCH_PPC) && defined(ENABLE_ALTIVEC)
+#include <signal.h>
+#include <setjmp.h>
+
 static sigjmp_buf jmpbuf;
 static volatile sig_atomic_t canjump = 0;
 
@@ -270,6 +273,9 @@ static uint32_t arch_accel (void)
   return flags;
 }
 #else
+#include <signal.h>
+#include <setjmp.h>
+
 static sigjmp_buf jmpbuf;
 static volatile sig_atomic_t canjump = 0;
 

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Xine-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xine-cvslog

Reply via email to