[MPlayer-dev-eng] [PATCH] misc small fixes (mostly gcc warnings)

Rich Felker dalias at aerifal.cx
Thu Nov 10 18:24:57 CET 2005


On Thu, Nov 10, 2005 at 05:53:24PM +0100, Dominik 'Rathann' Mierzejewski wrote:
> > > 21. sysdep/pci_linux.c:93: warning: implicit declaration of function 'iopl'
> > > 
> > > Gabu said including <sys/perm.h> broke compilation on his libc5 system, but...
> > 
> > Let's try not to break libc5 systems unnecessarily...
> 
> Maybe so, but using undeclared function calls is not good either.

Then declare it yourself...

> Perhaps there's some #ifdef we can use to detect a libc5 system?

Possible but sounds like a bad idea..

Rich





More information about the MPlayer-dev-eng mailing list