changeset 31495:32b1ffba017f

Fix missing iopl declaration on x86_64 systems.
author reimar
date Sun, 27 Jun 2010 14:47:50 +0000
parents c92b055ebec7
children 4c959d99d30a
files vidix/sysdep/pci_linux.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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 <errno.h>
-#ifdef __i386__
+#if ARCH_X86
 //#include <sys/perm.h> doesn't exist on libc5 systems
 int iopl(int level);
 #elif defined(__sh__)