[FFmpeg-devel] [Patch] fix mingw sys/select.h inclusion

Luca Abeni lucabe72
Fri Sep 26 08:20:25 CEST 2008


Hi Baptiste,

Baptiste Coudurier wrote:
> Hi,
> 
> Andrew Voznytsa wrote:
>> Hi all,
>>
>>
>>
>> Simple patch to make network code compilable - mingw does not have 
>> sys/select.h
> 
> Damn, I included it to fix Freebsd 5.5 compilation, now we have a
> dilemma.
> 
> sys/select.h is POSIX 2001.

It seems to me that including sys/select.h (or similar) directly in
rtsp.c is an error. I think it should be included in network.h (that
already provides the proper "#ifdefs". In this way, we can move all the
OS dependent code in a single file.


				Luca





More information about the ffmpeg-devel mailing list