Commit 22d6c7f1 authored by Thomas Klausner's avatar Thomas Klausner Committed by Sebastian Dröge
Browse files

udpsrc: Fix compilation on NetBSD

https://bugzilla.gnome.org/show_bug.cgi?id=771278
parent d1bde769
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment