summaryrefslogtreecommitdiffstats
path: root/libdha
diff options
context:
space:
mode:
authoralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-12-15 18:22:16 +0000
committeralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-12-15 18:22:16 +0000
commitd7c918460c6b5cabe7286fd4bd0baf81fd47ac97 (patch)
tree643d5650176db7024726c26d6caec70358561a5d /libdha
parent2e0f15e0c82cc1b7c88984ab67fe88501f9d90cd (diff)
downloadmpv-d7c918460c6b5cabe7286fd4bd0baf81fd47ac97.tar.bz2
mpv-d7c918460c6b5cabe7286fd4bd0baf81fd47ac97.tar.xz
this fixes compilation for me (and it works), hope it didn't breaks for LinuxPPC (i use Debian/PPC with 2.4.20 kernel)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8461 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libdha')
-rw-r--r--libdha/sysdep/pci_linux.c2
-rw-r--r--libdha/sysdep/pci_powerpc.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libdha/sysdep/pci_linux.c b/libdha/sysdep/pci_linux.c
index ab13001198..e53ae20721 100644
--- a/libdha/sysdep/pci_linux.c
+++ b/libdha/sysdep/pci_linux.c
@@ -7,7 +7,7 @@
#ifdef __i386__
#include <sys/perm.h>
#else
-#ifndef __sparc__
+#if !defined(__sparc__) && !defined(__powerpc__)
#include <sys/io.h>
#endif
#endif
diff --git a/libdha/sysdep/pci_powerpc.c b/libdha/sysdep/pci_powerpc.c
index 52a62401de..82f40b4d05 100644
--- a/libdha/sysdep/pci_powerpc.c
+++ b/libdha/sysdep/pci_powerpc.c
@@ -11,7 +11,7 @@ static int pci_config_type( void ) { return 1; }
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"