[FFmpeg-devel] [PATCH] discard <sys/select.h> for MinGW32 OS
Diego Biurrun
diego
Thu Aug 14 16:05:02 CEST 2008
On Thu, Aug 14, 2008 at 08:43:58AM +0200, Kurtnoise wrote:
>
> M?ns Rullg?rd a ?crit :
>> Kurtnoise <kurtnoise at free.fr> writes:
>>
>>> Since rev 14718, compilation fails on MinGW32 platform due to the
>>> sys/select.h missing header file. Don't ask me why this file isn't
>>> included...
>>>
>>> Here is a patch to discard this.
>>>
>>> --- libavformat/rtpproto.c (revision 14736)
>>> +++ libavformat/rtpproto.c (working copy)
>>> @@ -32,7 +32,9 @@
>>> #include <fcntl.h>
>>> +#ifndef __MINGW32__
>>> #include <sys/select.h>
>>> +#endif
>>
>> Rejected. We don't have #ifdef __RANDOM_OS__ in our code. If mingw
>> really doesn't have that header, use #ifdef HAVE_SYS_SELECT_H.
>>
> ok, got it...
Applied.
Diego
More information about the ffmpeg-devel
mailing list