openbsd-ports/net/farsight2/patches/patch-transmitters_rawudp_fs-rawudp-transmitter_c
jasper 9b11ef5358 import farsight2 0.0.16
Farsight 2 is a collection of GStreamer modules and libraries for
videoconferencing.

initially started in a dungeon in gypsy-land...
feedback and ok aja@
2009-11-29 18:56:43 +00:00

16 lines
521 B
Plaintext

$OpenBSD: patch-transmitters_rawudp_fs-rawudp-transmitter_c,v 1.1.1.1 2009/11/29 18:56:43 jasper Exp $
--- transmitters/rawudp/fs-rawudp-transmitter.c.orig Sun Nov 29 18:26:53 2009
+++ transmitters/rawudp/fs-rawudp-transmitter.c Sun Nov 29 18:29:17 2009
@@ -53,7 +53,10 @@
#else /*G_OS_WIN32*/
# include <netdb.h>
# include <sys/socket.h>
-# include <netinet/ip.h>
+# include <netinet/in.h>
+# ifndef __OpenBSD__
+# include <netinet/ip.h>
+# endif /* !__OpenBSD__ */
# include <arpa/inet.h>
#endif /*G_OS_WIN32*/