summaryrefslogtreecommitdiff
path: root/user/bluez/fix-endianness.patch
diff options
context:
space:
mode:
Diffstat (limited to 'user/bluez/fix-endianness.patch')
-rw-r--r--user/bluez/fix-endianness.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/user/bluez/fix-endianness.patch b/user/bluez/fix-endianness.patch
new file mode 100644
index 000000000..ee0e0d1e3
--- /dev/null
+++ b/user/bluez/fix-endianness.patch
@@ -0,0 +1,10 @@
+--- bluez-5.47/src/shared/util.h.old 2016-09-26 07:29:00.000000000 -0500
++++ bluez-5.47/src/shared/util.h 2017-12-27 22:49:50.538716424 -0600
+@@ -26,6 +26,7 @@
+ #include <alloca.h>
+ #include <byteswap.h>
+ #include <string.h>
++#include <endian.h>
+
+ #if __BYTE_ORDER == __LITTLE_ENDIAN
+ #define le16_to_cpu(val) (val)