--- src/s_audio_alsa.c.orig 2014-09-18 00:09:56 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