--- src/s_audio_alsa.c.orig 2016-04-03 04:15:36 UTC +++ src/s_audio_alsa.c @@ -25,7 +25,14 @@ #include #include #include "s_audio_alsa.h" +#if defined(__FreeBSD__) +#include +#define LITTLE_ENDIAN _LITTLE_ENDIAN +#define BIG_ENDIAN _BIG_ENDIAN +#define BYTE_ORDER _BYTE_ORDER +#else #include +#endif /* Defines */ #define DEBUG(x) x