[Mplayer-cvslog] CVS: main/libdha/sysdep pci_linux.c,1.5,1.6 pci_powerpc.c,1.2,1.3

Alex Beregszaszi alex at mplayerhq.hu
Sun Dec 15 19:22:19 CET 2002


Update of /cvsroot/mplayer/main/libdha/sysdep
In directory mail:/var/tmp.root/cvs-serv17858

Modified Files:
	pci_linux.c pci_powerpc.c 
Log Message:
this fixes compilation for me (and it works), hope it didn't breaks for LinuxPPC (i use Debian/PPC with 2.4.20 kernel)

Index: pci_linux.c
===================================================================
RCS file: /cvsroot/mplayer/main/libdha/sysdep/pci_linux.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- pci_linux.c	22 Oct 2002 12:22:40 -0000	1.5
+++ pci_linux.c	15 Dec 2002 18:22:16 -0000	1.6
@@ -7,7 +7,7 @@
 #ifdef __i386__
 #include <sys/perm.h>
 #else
-#ifndef __sparc__
+#if !defined(__sparc__) && !defined(__powerpc__)
 #include <sys/io.h>
 #endif
 #endif

Index: pci_powerpc.c
===================================================================
RCS file: /cvsroot/mplayer/main/libdha/sysdep/pci_powerpc.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- pci_powerpc.c	22 Oct 2002 12:22:40 -0000	1.2
+++ pci_powerpc.c	15 Dec 2002 18:22:16 -0000	1.3
@@ -11,7 +11,7 @@
    questions, suggestions etc: 
    mplayer-dev-eng at mplayerhq.hu, colin at colino.net*/
 #include <fcntl.h>
-#include <sys/io.h>
+//#include <sys/io.h>
 #include <linux/pci.h>
 #include "../../bswap.h"
 




More information about the MPlayer-cvslog mailing list