[libdvbpsi-devel] [Patch] Fix examples/connect.c on FreeBSD.

Jean-Paul Saman jean-paul.saman at planet.nl
Thu Jan 17 08:41:58 CET 2008


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.



More information about the libdvbpsi-devel mailing list