mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
udpsrc: Fix compilation on NetBSD
https://bugzilla.gnome.org/show_bug.cgi?id=771278
This commit is contained in:
parent
d1bde7699d
commit
22d6c7f106
1 changed files with 4 additions and 0 deletions
|
@ -158,7 +158,9 @@ struct _GstIPPktinfoMessage
|
|||
|
||||
guint ifindex;
|
||||
#ifndef G_OS_WIN32
|
||||
#ifndef __NetBSD__
|
||||
struct in_addr spec_dst;
|
||||
#endif
|
||||
#endif
|
||||
struct in_addr addr;
|
||||
};
|
||||
|
@ -202,7 +204,9 @@ 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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue