[MPlayer-dev-eng] [PATCH] FreeBSD-Current compilation fix

Arpi arpi at thot.banki.hu
Wed Dec 4 23:07:51 CET 2002


Hi,

> Hi,
> here is a patch that fixes compilation on FreeBSD-CURRENT.
> You need unistd.h to get off_t defined.
> 
> //David Holm
> 
> Index: cfgparser.h

never ever include header files from header files.
find teh .c files erquired unistd.h and include it there.
it seems most of the .c files including cfgparser.h already include unistd.h
too...

patch refused

also, no #ifdef FREEBSD is needed, unistd.h doesn't hurt even on non-bsd


A'rpi / Astral & ESP-team

--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu



More information about the MPlayer-dev-eng mailing list