[Ffmpeg-devel] macosx compilation support patch
Marc Hoffman
mmh
Wed Feb 21 13:18:55 CET 2007
On Feb 21, 2007, at 6:56 AM, M?ns Rullg?rd wrote:
>
> Marc Hoffman said:
>> sys/time.h is needed on MACOSX to get the definition of timeval.
>>
>> Index: libavformat/rtsp.c
>> ===================================================================
>> --- libavformat/rtsp.c (revision 8047)
>> +++ libavformat/rtsp.c (working copy)
>> @@ -20,6 +20,10 @@
>> */
>> #include "avformat.h"
>>
>> +#ifdef CONFIG_DARWIN
>> +#include <sys/time.h>
>> +#endif
>
> Useless #ifdef. Unconditionally #including sys/time.h should be
> harmless.
I agree! I actually added it the ifdef to the patch file. Thanks do
you want me to repost?
Marc
More information about the ffmpeg-devel
mailing list