[Mplayer-cvslog] CVS: main/libdha/sysdep pci_linux.c,1.7,1.8

Dominik 'Rathann' Mierzejewski dominik at rangers.eu.org
Sat Nov 15 23:22:20 CET 2003


On Thursday, 13 November 2003 at 21:54, Gabucino wrote:
[...]
> --- pci_linux.c	20 Dec 2002 21:07:27 -0000	1.7
> +++ pci_linux.c	13 Nov 2003 20:53:09 -0000	1.8
> @@ -5,7 +5,7 @@
>  */
>  #include <errno.h>
>  #ifdef __i386__
> -#include <sys/perm.h>
> +// is this needed? #include <sys/perm.h>
>  #else
>  #if !defined(__sparc__) && !defined(__powerpc__)
>  #include <sys/io.h>

Yes, it's needed. Otherwise I get:
sysdep/pci_linux.c:89: warning: implicit declaration of function `iopl'

-- 
MPlayer RPMs maintainer: http://www.piorunek.pl/~dominik/linux/pkgs/mplayer/
"The Universe doesn't give you any points for doing things that are easy."
        -- Sheridan to Garibaldi in Babylon 5:"The Geometry of Shadows"



More information about the MPlayer-cvslog mailing list