From 61c49dfa2e8d4a1eb0926ae5fd8cde38ac01c74a Mon Sep 17 00:00:00 2001 From: Arkadiusz Bokowy Date: Mon, 25 Aug 2025 20:31:58 +0200 Subject: [PATCH] lib: Add missing includes in bluetooth/hci.h MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Compilation fails when using bluetooth/hci.h without other includes. /usr/include/bluetooth/hci.h:310:9: error: unknown type name ‘uint8_t’ 310 | uint8_t lap[3]; | ^~~~~~~ ... /usr/include/bluetooth/hci.h:383:9: error: unknown type name ‘bdaddr_t’; did you mean ‘daddr_t’? 383 | bdaddr_t bdaddr; | ^~~~~~~~ --- lib/bluetooth/hci.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/bluetooth/hci.h b/lib/bluetooth/hci.h index 8f59a535a..732477ec4 100644 --- a/lib/bluetooth/hci.h +++ b/lib/bluetooth/hci.h @@ -17,8 +17,11 @@ extern "C" { #endif +#include #include +#include + #define HCI_MAX_DEV 16 #define HCI_MAX_AMP_SIZE (1492 + 4) -- 2.47.3