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:
36a154f
)
udpsrc: #define __APPLE_USE_RFC_3542 to be able to use IPV6_PKTINFO on OSX/iOS
author
Sebastian Dröge
<sebastian@centricular.com>
Tue, 28 Jun 2016 12:15:14 +0000
(15:15 +0300)
committer
Sebastian Dröge
<sebastian@centricular.com>
Tue, 28 Jun 2016 12:15:14 +0000
(15:15 +0300)
gst/udp/gstudpsrc.c
patch
|
blob
|
history
diff --git
a/gst/udp/gstudpsrc.c
b/gst/udp/gstudpsrc.c
index e6468785660ffdc686023ffd6bde379b5173542c..10ae5d5c87843715464942721b3eeedc63ecad11 100644
(file)
--- 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 <sys/types.h>
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>