--- source/zita-alsa-pcmi.cc.orig 2022-07-14 07:07:32 UTC +++ source/zita-alsa-pcmi.cc @@ -18,9 +18,16 @@ // ---------------------------------------------------------------------------- +#if defined(__FreeBSD__) +# include +# define bswap_32(x) bswap32(x) +#else #include +#endif #include +#if !defined(__FreeBSD__) #include +#endif #include #include "zita-alsa-pcmi.h"