diff --git a/gst/udp/gstudpsrc.c b/gst/udp/gstudpsrc.c index e646878566..10ae5d5c87 100644 --- a/gst/udp/gstudpsrc.c +++ b/gst/udp/gstudpsrc.c @@ -112,6 +112,8 @@ * otherwise struct in6_pktinfo is not defined completely * due to broken glibc headers */ #define _GNU_SOURCE +/* Needed for OSX/iOS to define the IPv6 variants */ +#define __APPLE_USE_RFC_3542 #include #ifdef HAVE_SYS_SOCKET_H #include