[PATCH] Include arpa/inet.h for htons in src/audio_dec/xine_lpcm_decoder.c
Alexis Ballier <[email protected]>
| Newsgroups | gmane.comp.video.xine.devel |
|---|---|
| Organization | Gentoo |
| Message-ID | <[email protected]> |
$subject + commit message ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ xine-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xine-devel
xine-lib-1.2-xine_lpcm_decoder-arpa-inet-include.patch
(text/x-patch, 727 B)
# HG changeset patch # User Alexis Ballier <[email protected]> # Date 1335036489 10800 # Node ID 6fc56571c45a09d42829624a0d6339f3ad0f6168 # Parent 3c08d65400c4915891d8b8b18f21c5f0326537b0 Include arpa/inet.h for htons. See http://pubs.opengroup.org/onlinepubs/9699919799/functions/htonl.html Fixes build on FreeBSD. diff -r 3c08d65400c4 -r 6fc56571c45a src/audio_dec/xine_lpcm_decoder.c --- a/src/audio_dec/xine_lpcm_decoder.c Thu Apr 19 09:43:05 2012 +0300 +++ b/src/audio_dec/xine_lpcm_decoder.c Sat Apr 21 16:28:09 2012 -0300 @@ -41,6 +41,7 @@ #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> +#include <arpa/inet.h> /* htons */ #include <netinet/in.h> /* ntohs */ #include <xine/xine_internal.h>