comparison vidix/sysdep/pci_linux.c @ 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 0f1b5b68af32
children e117bd87b33c
comparison
equal deleted inserted replaced
29946:54bacf6a38ca 29947:2c0a16bf54bb
29 #include <errno.h> 29 #include <errno.h>
30 #ifdef __i386__ 30 #ifdef __i386__
31 //#include <sys/perm.h> doesn't exist on libc5 systems 31 //#include <sys/perm.h> doesn't exist on libc5 systems
32 int iopl(); 32 int iopl();
33 #else 33 #else
34 #if !defined(__sparc__) && !defined(__powerpc__) && !defined(__x86_64__) 34 #if !defined(__sparc__) && !defined(__powerpc__) && !defined(__x86_64__) && !defined(__sh__)
35 #include <sys/io.h> 35 #include <sys/io.h>
36 #endif 36 #endif
37 #endif 37 #endif
38 38
39 #ifdef __sh__ 39 #ifdef __sh__