[MPlayer-cvslog] r36362 - in trunk: configure stream/tcp.c

Erik Auerswald auerswal at unix-ag.uni-kl.de
Sun Jul 14 22:08:25 CEST 2013


Thanks!

On 07/14/2013 08:31 PM, al wrote:
> Author: al
> Date: Sun Jul 14 20:31:15 2013
> New Revision: 36362
>
> Log:
> build: Define _BSD_SOURCE for gethostbyname2
>
> This broke in 1dca91d when a bunch of source #defines were
> defined unconditionally for all source files.
>
> Restore IPv6 support in stream/tcp module by handling it
> analog to how strsep was handled in 11b73048 .
>
> Patch-by: Erik Auerswald >auerswal unix-ag uni-kl de<
>
> Modified:
>     trunk/configure
>     trunk/stream/tcp.c
>
> Modified: trunk/configure
> ==============================================================================
> --- trunk/configure	Sat Jul 13 23:24:47 2013	(r36361)
> +++ trunk/configure	Sun Jul 14 20:31:15 2013	(r36362)
> @@ -3598,6 +3598,7 @@ echores "$_inet6"
>   echocheck "gethostbyname2"
>   if test "$_gethostbyname2" = auto ; then
>   cat > $TMPC << EOF
> +#define _BSD_SOURCE
>   #include <sys/types.h>
>   #include <sys/socket.h>
>   #include <netdb.h>
>
> Modified: trunk/stream/tcp.c
> ==============================================================================
> --- trunk/stream/tcp.c	Sat Jul 13 23:24:47 2013	(r36361)
> +++ trunk/stream/tcp.c	Sun Jul 14 20:31:15 2013	(r36362)
> @@ -20,6 +20,8 @@
>    * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
>    */
>
> +#define _BSD_SOURCE
> +
>   #include <stdlib.h>
>   #include <string.h>
>   #include <unistd.h>
> _______________________________________________
> MPlayer-cvslog mailing list
> MPlayer-cvslog at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mplayer-cvslog
>



More information about the MPlayer-cvslog mailing list