0002-freebsd-sys-endian.patch 465 B

12345678910111213141516
  1. diff --git a/thirdparty/linuxbsd_headers/alsa/asoundlib.h b/thirdparty/linuxbsd_headers/alsa/asoundlib.h
  2. index a546194382..598175403c 100644
  3. --- a/thirdparty/linuxbsd_headers/alsa/asoundlib.h
  4. +++ b/thirdparty/linuxbsd_headers/alsa/asoundlib.h
  5. @@ -38,7 +38,11 @@
  6. #include <poll.h>
  7. #include <errno.h>
  8. #include <stdarg.h>
  9. +#ifdef __FreeBSD__
  10. +#include <sys/endian.h>
  11. +#else
  12. #include <endian.h>
  13. +#endif // __FreeBSD__
  14. #ifndef __GNUC__
  15. #define __inline__ inline