[Patch] Fix examples/connect.c on FreeBSD.
Thierry Thomas <[email protected]>
| Newsgroups | gmane.comp.video.videolan.libdvbpsi.devel |
|---|---|
| Organization | Kabbale Eros |
| Message-ID | <20080116220125.GA24247__35050.7660340101$1200520946$gmane$org@graf.pompo.net> |
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, -- Th. Thomas. _______________________________________________ libdvbpsi-devel mailing list [email protected] http://mailman.videolan.org/listinfo/libdvbpsi-devel