openbsd-ports/net/farstream/patches/patch-transmitters_multicast_fs-multicast-transmitter_c
2012-09-28 14:26:11 +00:00

16 lines
535 B
Plaintext

$OpenBSD: patch-transmitters_multicast_fs-multicast-transmitter_c,v 1.2 2012/09/28 14:26:11 jasper Exp $
--- transmitters/multicast/fs-multicast-transmitter.c.orig Tue Sep 25 22:23:53 2012
+++ transmitters/multicast/fs-multicast-transmitter.c Fri Sep 28 14:27:29 2012
@@ -55,7 +55,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*/