From 63a0440a3c4c765ef7861923c0f25cb18c0d3d14 Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Thu, 17 Oct 2013 11:36:26 +0300 Subject: [PATCH] android: Fix build error when compiling with autotools android/hal_bt_sock.c:82:21: error: no previous declaration for 'bt_get_sock_interface' [-Werror=missing-declarations] btsock_interface_t *bt_get_sock_interface(void) --- 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 3a6d173d1..31e6b5945 100644 --- a/android/hal_bt_sock.c +++ b/android/hal_bt_sock.c @@ -23,6 +23,8 @@ #define LOG_TAG "BlueZ" #include +#include "hal.h" + static bt_status_t btsock_listen_rfcomm(const char *service_name, const uint8_t *uuid, int chan, int *sock, int flags) -- 2.47.3