summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2012-04-21 16:28:09 -0300
committerAlexis Ballier <aballier@gentoo.org>2012-04-21 16:28:09 -0300
commit868b053a13cc7df0f1e82e90fd4596f60ada12f2 (patch)
tree7ac3f8d16df1694ed2e2ac763e861039483c2add
parent426d3ee630f53f02030fcfb3aa9dc5442d9bb6a0 (diff)
downloadxine-lib-868b053a13cc7df0f1e82e90fd4596f60ada12f2.tar.gz
xine-lib-868b053a13cc7df0f1e82e90fd4596f60ada12f2.tar.bz2
Include arpa/inet.h for htons.
See http://pubs.opengroup.org/onlinepubs/9699919799/functions/htonl.html Fixes build on FreeBSD.
-rw-r--r--src/audio_dec/xine_lpcm_decoder.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/audio_dec/xine_lpcm_decoder.c b/src/audio_dec/xine_lpcm_decoder.c
index db4a79fff..e63fe4902 100644
--- a/src/audio_dec/xine_lpcm_decoder.c
+++ b/src/audio_dec/xine_lpcm_decoder.c
@@ -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>