diff libdha/sysdep/pci_linux.c @ 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 6d544beb655e
children 9dbb9c710480
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