# HG changeset patch # User reimar # Date 1277650070 0 # Node ID 32b1ffba017fb35b4e019d27aebcd787bb002f89 # Parent c92b055ebec789d4489bbf02d90007321005557b Fix missing iopl declaration on x86_64 systems. diff -r c92b055ebec7 -r 32b1ffba017f vidix/sysdep/pci_linux.c --- a/vidix/sysdep/pci_linux.c Sat Jun 26 18:06:20 2010 +0000 +++ b/vidix/sysdep/pci_linux.c Sun Jun 27 14:47:50 2010 +0000 @@ -27,7 +27,7 @@ */ #include -#ifdef __i386__ +#if ARCH_X86 //#include doesn't exist on libc5 systems int iopl(int level); #elif defined(__sh__)