Hello, These patches try to fix the building errors on Android 6.0. I'm not familiar with Bluez stack so I don't know if I did it correctly. But At least it's buildable with the Android-x86 marshmallow-x86 branch. I'm able to pair with a BT speaking and play music to it. However, file transfer failed. Please help to review the patches. Refer: https://sourceforge.net/p/android-x86/external_bluetooth_bluez/ci/marshmallow-x86/ Chih-Wei Huang (3): shared/utils: add the missing header <strings.h> android: fix building errors of the 64-bit targets android: fix building errors on Android 6.0 android/client/if-gatt.c | 46 ++++++++++++++++++++++++++++++++++++++++++++++ android/hal-bluetooth.c | 4 ++++ android/hal-gatt.c | 34 +++++++++++++++++++++++++++++++++- android/hal-ipc.c | 2 ++ android/hal-utils.c | 4 ++++ android/log.c | 1 + src/shared/util.c | 1 + 7 files changed, 91 insertions(+), 1 deletion(-) -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html