diff options
author | Martin Storsjö <martin@martin.st> | 2010-10-05 16:35:33 +0000 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2010-10-05 16:35:33 +0000 |
commit | 5961253463173fb3cff01a6c34e16dba1cd22e0e (patch) | |
tree | 8473c7cf9b90ccd51a48f0a25e445bf56f1185c5 | |
parent | 25a2ebb917f301c26be7050e9b5dfe28fe7ade0e (diff) | |
download | ffmpeg-5961253463173fb3cff01a6c34e16dba1cd22e0e.tar.gz |
udp: Define _DARWIN_C_SOURCE
This is required in order to get the IP_MULTICAST_TTL define.
Originally committed as revision 25351 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavformat/udp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/udp.c b/libavformat/udp.c index 01f441b711..58fbe96c3f 100644 --- 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" |