changeset 8460:d09c74452323

this fixes compilation for me (and it works), hope it didn't breaks for LinuxPPC (i use Debian/PPC with 2.4.20 kernel)
author alex
date Sun, 15 Dec 2002 18:22:16 +0000
parents 2ce7bbdcee15
children ace211f1ed2b
files libdha/sysdep/pci_linux.c libdha/sysdep/pci_powerpc.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libdha/sysdep/pci_linux.c	Sun Dec 15 18:18:41 2002 +0000
+++ b/libdha/sysdep/pci_linux.c	Sun Dec 15 18:22:16 2002 +0000
@@ -7,7 +7,7 @@
 #ifdef __i386__
 #include <sys/perm.h>
 #else
-#ifndef __sparc__
+#if !defined(__sparc__) && !defined(__powerpc__)
 #include <sys/io.h>
 #endif
 #endif
--- a/libdha/sysdep/pci_powerpc.c	Sun Dec 15 18:18:41 2002 +0000
+++ b/libdha/sysdep/pci_powerpc.c	Sun Dec 15 18:22:16 2002 +0000
@@ -11,7 +11,7 @@
    questions, suggestions etc: 
    mplayer-dev-eng@mplayerhq.hu, colin@colino.net*/
 #include <fcntl.h>
-#include <sys/io.h>
+//#include <sys/io.h>
 #include <linux/pci.h>
 #include "../../bswap.h"