Re: [Patch] Fix examples/connect.c on FreeBSD.

Jean-Paul Saman <[email protected]>
Newsgroups gmane.comp.video.videolan.libdvbpsi.devel
Message-ID <478F06C6.8000501__21318.6773857617$1200555758$gmane$org@planet.nl>
Thierry Thomas wrote:
> Hello,
> 
> The hereunder patch is required to build libdvbpsi5-0.1.6 on FreeBSD:
> 
> --- patch-examples_connect.c begins here ---
> --- ./examples/connect.c.orig	2007-01-18 15:57:08.000000000 +0100
> +++ ./examples/connect.c	2008-01-13 18:32:16.000000000 +0100
> @@ -38,7 +38,9 @@
>  #   include <netinet/if_ether.h>
>  #endif
>  #include <netdb.h>
> -#include <netinet/ip.h>
> +#ifndef __FreeBSD__
> +#   include <netinet/ip.h>
> +#endif
>  #include <netinet/udp.h>
>  #include <arpa/inet.h>
>  
> --- patch-examples_connect.c ends here ---
> 
> Warning: the original file is in DOS format, and the patch contains \r.
> 
> Regards,
Patch applied thanks.

Gtz,
Jean-Paul Saman.
_______________________________________________
libdvbpsi-devel mailing list
[email protected]
http://mailman.videolan.org/listinfo/libdvbpsi-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.