Mercurial > mplayer.hg
comparison libdha/sysdep/pci_linux.c @ 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 | cb35163ef0a1 |
children | 1767c271d710 |
comparison
equal
deleted
inserted
replaced
17098:0b6c9d7387b4 | 17099:c6dca3153ddb |
---|---|
3 $XFree86: xc/programs/Xserver/hw/xfree86/etc/scanpci.c,v 3.34.2.17 1998/11/10 11:55:40 dawes Exp $ | 3 $XFree86: xc/programs/Xserver/hw/xfree86/etc/scanpci.c,v 3.34.2.17 1998/11/10 11:55:40 dawes Exp $ |
4 Modified for readability by Nick Kurshev | 4 Modified for readability by Nick Kurshev |
5 */ | 5 */ |
6 #include <errno.h> | 6 #include <errno.h> |
7 #ifdef __i386__ | 7 #ifdef __i386__ |
8 // is this needed? #include <sys/perm.h> | 8 //#include <sys/perm.h> doesn't exist on libc5 systems |
9 int iopl(); | |
9 #else | 10 #else |
10 #if !defined(__sparc__) && !defined(__powerpc__) && !defined(__x86_64__) | 11 #if !defined(__sparc__) && !defined(__powerpc__) && !defined(__x86_64__) |
11 #include <sys/io.h> | 12 #include <sys/io.h> |
12 #endif | 13 #endif |
13 #endif | 14 #endif |