blob: 0c8e9470da5b8da45a0cdff559d21065bf9409c4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
--- spa/plugins/audioconvert/fmt-ops.h.orig 2021-09-16 13:08:56 UTC
+++ spa/plugins/audioconvert/fmt-ops.h
@@ -23,7 +23,13 @@
*/
#include <math.h>
+#ifdef __FreeBSD__
+#include <sys/endian.h>
+#define bswap_16 bswap16
+#define bswap_32 bswap32
+#else
#include <byteswap.h>
+#endif
#include <spa/utils/defs.h>
|