From d7c918460c6b5cabe7286fd4bd0baf81fd47ac97 Mon Sep 17 00:00:00 2001 From: alex Date: Sun, 15 Dec 2002 18:22:16 +0000 Subject: [PATCH] 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 --- libdha/sysdep/pci_linux.c | 2 +- libdha/sysdep/pci_powerpc.c | 2 +- 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 #else -#ifndef __sparc__ +#if !defined(__sparc__) && !defined(__powerpc__) #include #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 -#include +//#include #include #include "../../bswap.h"