OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25a2ebb
)
udp: Define _DARWIN_C_SOURCE
author
Martin Storsjö
<martin@martin.st>
Tue, 5 Oct 2010 16:35:33 +0000
(16:35 +0000)
committer
Martin Storsjö
<martin@martin.st>
Tue, 5 Oct 2010 16:35:33 +0000
(16:35 +0000)
This is required in order to get the IP_MULTICAST_TTL define.
Originally committed as revision 25351 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/udp.c
patch
|
blob
|
history
diff --git
a/libavformat/udp.c
b/libavformat/udp.c
index
01f441b
..
58fbe96
100644
(file)
--- a/
libavformat/udp.c
+++ b/
libavformat/udp.c
@@
-25,6
+25,7
@@
*/
#define _BSD_SOURCE /* Needed for using struct ip_mreq with recent glibc */
+#define _DARWIN_C_SOURCE /* Needed for using IP_MULTICAST_TTL on OS X */
#include "avformat.h"
#include <unistd.h>
#include "internal.h"