rtkbt: Include hci_layer.h where needed
authorAaron Kling <webgeek1234@gmail.com>
Tue, 6 Dec 2022 19:27:30 +0000 (14:27 -0500)
committerNolen Johnson <johnsonnolen@gmail.com>
Mon, 12 Dec 2022 07:17:46 +0000 (08:17 +0100)
* The new Bluetooth APEX shifted things around.

Change-Id: I2eeff2ed7a8f198c7246136db2eac82e63e5c970

rtkbt/code/libbt-vendor/src/hci_h5.c
rtkbt/code/libbt-vendor/src/rtk_btsnoop_net.c
rtkbt/code/libbt-vendor/src/userial_vendor.c

index e02c26b329fd996233ed2b0f829331c2205a120e..938088a6d581244bc74aa6b7df10a65004a6ee86 100755 (executable)
@@ -48,6 +48,7 @@
 #include <arpa/inet.h>
 #include <string.h>
 #include <linux/wait.h>
+#include <hci_layer.h>
 
 #include "hci_h5_int.h"
 #include "bt_skbuff.h"
index fe912c3f57fce6cdb9d6e71e45e8eb8af6af727b..960533495fa94934cd94ad4a1724a5b9a91b69aa 100755 (executable)
@@ -18,6 +18,7 @@
 #define LOG_TAG "rtk_btsnoop_net"
 #include "rtk_btsnoop_net.h"
 #include <unistd.h>
+#include <hci_layer.h>
 
 #define RTK_NO_INTR(fn)  do {} while ((fn) == -1 && errno == EINTR)
 
index ecc291e002c606f782132004e8ad2629006782f7..0909ef653049d2ba8ed70a1fcd746a21b746b925 100755 (executable)
@@ -36,6 +36,7 @@
 #include "userial_vendor.h"
 #include "rtk_socket.h"
 #include <cutils/sockets.h>
+#include <hci_layer.h>
 
 
 #ifdef CONFIG_SCO_OVER_HCI