From f911b6df4fd1462d9718bcacced508cad03ce4d1 Mon Sep 17 00:00:00 2001 From: Arkadiusz Bokowy Date: Mon, 25 Aug 2025 20:31:59 +0200 Subject: [PATCH] lib: Add missing includes in bluetooth/hci_lib.h MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Compilation fails when using bluetooth/hci_lib.h without other includes. /usr/include/bluetooth/hci_lib.h:21:9: error: unknown type name ‘uint16_t’ 21 | uint16_t ogf; | ^~~~~~~~ ... /usr/include/bluetooth/hci_lib.h:182:27: error: ‘HCI_VENDOR_PKT’ undeclared 182 | hci_set_bit((t == HCI_VENDOR_PKT) ? 0 : (t & HCI_FLT_TYPE_BITS), &f->type_mask); | ^~~~~~~~~~~~~~ --- lib/bluetooth/hci_lib.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/bluetooth/hci_lib.h b/lib/bluetooth/hci_lib.h index baf3d3e12..da89de054 100644 --- a/lib/bluetooth/hci_lib.h +++ b/lib/bluetooth/hci_lib.h @@ -17,6 +17,12 @@ extern "C" { #endif +#include +#include + +#include +#include + struct hci_request { uint16_t ogf; uint16_t ocf; -- 2.47.3