openbsd-ports/net/farstream/patches/patch-transmitters_rawudp_fs-rawudp-transmitter_c

16 lines
503 B
Plaintext
Raw Normal View History

$OpenBSD: patch-transmitters_rawudp_fs-rawudp-transmitter_c,v 1.1.1.1 2012/04/05 16:02:30 jasper Exp $
--- transmitters/rawudp/fs-rawudp-transmitter.c.orig Wed Apr 4 22:43:39 2012
+++ transmitters/rawudp/fs-rawudp-transmitter.c Wed Apr 4 22:43:45 2012
@@ -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
# include <arpa/inet.h>
#endif /*G_OS_WIN32*/