From: Szymon Janc <szymon.janc@xxxxxxxxx> This fix following build error on Linux: CC android/android_haltest-hal_bt_sock.o android/hal_bt_sock.c:86:21: error: no previous declaration for ‘bt_get_sock_interface’ [-Werror=missing-declarations] btsock_interface_t *bt_get_sock_interface(void) ^ cc1: all warnings being treated as errors make[1]: *** [android/android_haltest-hal_bt_sock.o] Error 1 --- android/hal_bt_sock.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/android/hal_bt_sock.c b/android/hal_bt_sock.c index 397d1fa..3fcf9ec 100644 --- a/android/hal_bt_sock.c +++ b/android/hal_bt_sock.c @@ -27,6 +27,8 @@ #include "android_compat.h" #endif +#include "hal.h" + static bt_status_t btsock_listen_rfcomm(const char *service_name, const uint8_t *uuid, int chan, int *sock, int flags) -- 1.8.4 -- 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