[FFmpeg-devel] [PATCH] Check for socklen_t in unistd.h

Måns Rullgård mans
Thu Jan 3 10:16:13 CET 2008


Dave Yeo <daveryeo at telus.net> writes:

> On 01/02/08 06:19 pm, M?ns Rullg?rd wrote:
>> Dave Yeo <daveryeo at telus.net> writes:
>> 
>>> As mentioned on the mplayer development list seems some operating
>>> system declares socklen_t in unistd.h.
>> 
>> Which ones?
>> 
> Looks like Darwin.

Don't they claim to be POSIX compliant?  POSIX clearly states that
socklen_t should be defined in sys/socket.h.

I'm not against a fix per se, just curious about why it's needed.

-- 
M?ns Rullg?rd
mans at mansr.com




More information about the ffmpeg-devel mailing list