From 2a0af1ad5d194b45293cce06fc55d93aa26d545e Mon Sep 17 00:00:00 2001 From: cehoyos Date: Thu, 10 Dec 2009 23:20:09 +0000 Subject: [PATCH] Fix build on SuperH. Patch by Magnus Damm, damm opensource se git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29989 b3059339-0415-0410-9bf9-f77b7e298cf2 --- vidix/AsmMacros.h | 2 -- vidix/sysdep/pci_linux.c | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/vidix/AsmMacros.h b/vidix/AsmMacros.h index 8cf052b916..da4e3b150b 100644 --- a/vidix/AsmMacros.h +++ b/vidix/AsmMacros.h @@ -77,8 +77,6 @@ #include "sysdep/AsmMacros_arm32.h" #elif defined(__powerpc__) #include "sysdep/AsmMacros_powerpc.h" -#elif defined(__sh__) -#include #else #include "sysdep/AsmMacros_x86.h" #endif diff --git a/vidix/sysdep/pci_linux.c b/vidix/sysdep/pci_linux.c index 6accf0885d..62ccc9bd93 100644 --- a/vidix/sysdep/pci_linux.c +++ b/vidix/sysdep/pci_linux.c @@ -31,7 +31,7 @@ //#include doesn't exist on libc5 systems int iopl(); #else -#if !defined(__sparc__) && !defined(__powerpc__) && !defined(__x86_64__) +#if !defined(__sparc__) && !defined(__powerpc__) && !defined(__x86_64__) && !defined(__sh__) #include #endif #endif