Add -D__EXTENSIONS__ to CFLAGS on Solaris to make ip_mreq visible.
authorPalle Lyckegaard <palle@lyckegaard.dk>
Mon, 5 Jan 2009 21:52:55 +0000 (21:52 +0000)
committerDiego Biurrun <diego@biurrun.de>
Mon, 5 Jan 2009 21:52:55 +0000 (21:52 +0000)
Fixes compilation of libavformat/udp.c.
patch by Palle Lyckegaard, palle lyckegaard dk

Originally committed as revision 16440 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index 6d9e33d..cfa5735 100755 (executable)
--- a/configure
+++ b/configure
@@ -1402,6 +1402,7 @@ case $target_os in
         FFSERVERLDFLAGS=""
         SHFLAGS='-shared -Wl,-h,$$(@F)'
         network_extralibs="-lsocket -lnsl"
+        add_cflags -D__EXTENSIONS__
         ;;
     netbsd)
         oss_demuxer_extralibs="-lossaudio"