changeset 17099:c6dca3153ddb

fix sysdep/pci_linux.c:93: warning: implicit declaration of function 'iopl'
author rathann
date Mon, 05 Dec 2005 01:32:30 +0000
parents 0b6c9d7387b4
children 29760118597b
files libdha/sysdep/pci_linux.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libdha/sysdep/pci_linux.c	Mon Dec 05 01:31:53 2005 +0000
+++ b/libdha/sysdep/pci_linux.c	Mon Dec 05 01:32:30 2005 +0000
@@ -5,7 +5,8 @@
 */
 #include <errno.h>
 #ifdef __i386__
-// is this needed? #include <sys/perm.h>
+//#include <sys/perm.h> doesn't exist on libc5 systems
+int iopl();
 #else
 #if !defined(__sparc__) && !defined(__powerpc__) && !defined(__x86_64__)
 #include <sys/io.h>