[libdvbpsi-devel] [Patch] Fix examples/connect.c on FreeBSD.
    Thierry Thomas 
    thierry at FreeBSD.org
       
    Wed Jan 16 23:01:25 CET 2008
    
    
  
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.
    
    
More information about the libdvbpsi-devel
mailing list