summaryrefslogtreecommitdiff
path: root/audio/mixxx/files/patch-src_soundsourceoggvorbis.cpp
blob: 5e3d66439f1b3ecb7b79189f82ed6d73abe50474 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- src/soundsourceoggvorbis.cpp.orig	2013-05-08 23:20:26 UTC
+++ src/soundsourceoggvorbis.cpp
@@ -32,6 +32,15 @@
 #endif
 #endif
 
+#ifdef __BSD__
+#include <sys/endian.h>
+#if _BYTE_ORDER == _LITTLE_ENDIAN
+#define OV_ENDIAN_ARG 0
+#else
+#define OV_ENDIAN_ARG 1
+#endif
+#endif
+
 #ifdef __LINUX__
 #include <endian.h>
 #if __BYTE_ORDER == __LITTLE_ENDIAN