[MPlayer-users] struct dvd and FreeBSD
Reimar Döffinger
Reimar.Doeffinger at gmx.de
Sat Jul 17 18:36:03 CEST 2010
On Sat, Jul 17, 2010 at 02:44:18PM +0200, Thomas Zander wrote:
> the recent simplification of the detection of the location of struct
> dvd does not work on FreeBSD because the necessary types are not
> included by default on that platform.
Could you please file a bug report to them? A public header file that doesn't
compile on its own is just stupid, maybe they should just run something
like "make checkheaders" on their system headers before a release?
Preferably with different flags like -std=c99 and -DPOSIX...
> With the old detection (#include <unistd.h> before sys/dvdio.h) it
> works as usual. Could we revert to the old version?
I'd bee slightly in favour of adding some standard includes to
header_check. While Linux (finally) managed to mostly get its act
together, the system headers of most operating systems are, to be honest,
at a rather pathetic level of quality.
More information about the MPlayer-users
mailing list