# HG changeset patch # User Alexis Ballier # 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 #include #include +#include /* htons */ #include /* ntohs */ #include