mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 18:05:37 +00:00
udpsrc: #define __APPLE_USE_RFC_3542 to be able to use IPV6_PKTINFO on OSX/iOS
This commit is contained in:
parent
36a154fa96
commit
cdd5fa4d96
1 changed files with 2 additions and 0 deletions
|
@ -112,6 +112,8 @@
|
||||||
* otherwise struct in6_pktinfo is not defined completely
|
* otherwise struct in6_pktinfo is not defined completely
|
||||||
* due to broken glibc headers */
|
* due to broken glibc headers */
|
||||||
#define _GNU_SOURCE
|
#define _GNU_SOURCE
|
||||||
|
/* Needed for OSX/iOS to define the IPv6 variants */
|
||||||
|
#define __APPLE_USE_RFC_3542
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#ifdef HAVE_SYS_SOCKET_H
|
#ifdef HAVE_SYS_SOCKET_H
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
|
|
Loading…
Reference in a new issue