Mercurial > mplayer.hg
changeset 29947:2c0a16bf54bb
Fix build on SuperH.
Patch by Magnus Damm, damm opensource se
author | cehoyos |
---|---|
date | Thu, 10 Dec 2009 23:20:09 +0000 |
parents | 54bacf6a38ca |
children | 20da977f0f3e |
files | vidix/AsmMacros.h vidix/sysdep/pci_linux.c |
diffstat | 2 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/vidix/AsmMacros.h Thu Dec 10 23:16:08 2009 +0000 +++ b/vidix/AsmMacros.h Thu Dec 10 23:20:09 2009 +0000 @@ -77,8 +77,6 @@ #include "sysdep/AsmMacros_arm32.h" #elif defined(__powerpc__) #include "sysdep/AsmMacros_powerpc.h" -#elif defined(__sh__) -#include <sys/io.h> #else #include "sysdep/AsmMacros_x86.h" #endif
--- a/vidix/sysdep/pci_linux.c Thu Dec 10 23:16:08 2009 +0000 +++ b/vidix/sysdep/pci_linux.c Thu Dec 10 23:20:09 2009 +0000 @@ -31,7 +31,7 @@ //#include <sys/perm.h> 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 <sys/io.h> #endif #endif