summaryrefslogtreecommitdiffstats
path: root/libdha
diff options
context:
space:
mode:
authorrathann <rathann@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-12-05 01:32:30 +0000
committerrathann <rathann@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-12-05 01:32:30 +0000
commit4172671b12881b60d698fbb0df69c2ddd773bf34 (patch)
treec3b6a51365c542897eae63a904945a7886307f86 /libdha
parent855416cba24c2ab77bf44c2b06b6f8fd2323f532 (diff)
downloadmpv-4172671b12881b60d698fbb0df69c2ddd773bf34.tar.bz2
mpv-4172671b12881b60d698fbb0df69c2ddd773bf34.tar.xz
fix
sysdep/pci_linux.c:93: warning: implicit declaration of function 'iopl' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17100 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libdha')
-rw-r--r--libdha/sysdep/pci_linux.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libdha/sysdep/pci_linux.c b/libdha/sysdep/pci_linux.c
index 3dbc592c0d..0362d92579 100644
--- a/libdha/sysdep/pci_linux.c
+++ b/libdha/sysdep/pci_linux.c
@@ -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>