projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1bde76
)
udpsrc: Fix compilation on NetBSD
author
Thomas Klausner
<tk@giga.or.at>
Mon, 12 Sep 2016 09:02:00 +0000
(09:02 +0000)
committer
Sebastian Dröge
<sebastian@centricular.com>
Mon, 12 Sep 2016 13:09:26 +0000
(15:09 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=771278
gst/udp/gstudpsrc.c
patch
|
blob
|
history
diff --git
a/gst/udp/gstudpsrc.c
b/gst/udp/gstudpsrc.c
index
dcd99ba
..
d60a014
100644
(file)
--- a/
gst/udp/gstudpsrc.c
+++ b/
gst/udp/gstudpsrc.c
@@
-158,8
+158,10
@@
struct _GstIPPktinfoMessage
guint ifindex;
#ifndef G_OS_WIN32
+#ifndef __NetBSD__
struct in_addr spec_dst;
#endif
+#endif
struct in_addr addr;
};
@@
-202,8
+204,10
@@
gst_ip_pktinfo_message_deserialize (gint level,
message = g_object_new (GST_TYPE_IP_PKTINFO_MESSAGE, NULL);
message->ifindex = pktinfo->ipi_ifindex;
#ifndef G_OS_WIN32
+#ifndef __NetBSD__
message->spec_dst = pktinfo->ipi_spec_dst;
#endif
+#endif
message->addr = pktinfo->ipi_addr;
return G_SOCKET_CONTROL_MESSAGE (message);