[Ffmpeg-devel] [PATCH] Networking with MingW

Diego Biurrun diego
Mon Nov 6 22:20:34 CET 2006


On Mon, Nov 06, 2006 at 11:39:40AM -0600, Michael A. Kohn wrote:
> 
> --- ffmpeg-2006-11-06/libavformat/http.c	2006-11-06 09:24:30.000000000 -0600
> +++ ffmpeg/libavformat/http.c	2006-11-06 10:42:26.000000000 -0600
> @@ -21,14 +21,12 @@
>  #include "avformat.h"
>  #include <unistd.h>
>  #include <sys/types.h>
> +#if !defined(__MINGW32__) && !defined(__BEOS__)
>  #include <sys/socket.h>
>  #include <netinet/in.h>
> -#ifndef __BEOS__
> -# include <arpa/inet.h>
> -#else
> -# include "barpainet.h"
> -#endif
>  #include <netdb.h>
> +#include <arpa/inet.h>
> +#endif

While it's generally nice to clean up this messy BeOS stuff, it needs to
go in a different patch ..

Diego




More information about the ffmpeg-devel mailing list