summaryrefslogtreecommitdiffstats
path: root/bluetooth
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2017-06-17 00:09:20 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2017-06-17 00:09:23 +0000
commit1bbe51d0b5bef615692afe6ccc24259c1b2208e4 (patch)
tree26bb75162f9709238d33258a493bbac3bf994020 /bluetooth
parent95f0176afac5991a2dfdb7f77d0f5bdf24c316a1 (diff)
parentba20404ca28b03db2b65d294e93e216058b810ed (diff)
downloadplatform_hardware_interfaces-1bbe51d0b5bef615692afe6ccc24259c1b2208e4.tar.gz
platform_hardware_interfaces-1bbe51d0b5bef615692afe6ccc24259c1b2208e4.tar.bz2
platform_hardware_interfaces-1bbe51d0b5bef615692afe6ccc24259c1b2208e4.zip
Merge "Include missing headers"
Diffstat (limited to 'bluetooth')
-rw-r--r--bluetooth/1.0/default/bluetooth_hci.h2
-rw-r--r--bluetooth/1.0/default/hci_protocol.cc1
2 files changed, 3 insertions, 0 deletions
diff --git a/bluetooth/1.0/default/bluetooth_hci.h b/bluetooth/1.0/default/bluetooth_hci.h
index 6912405549..e2797b1171 100644
--- a/bluetooth/1.0/default/bluetooth_hci.h
+++ b/bluetooth/1.0/default/bluetooth_hci.h
@@ -21,6 +21,8 @@
#include <hidl/MQDescriptor.h>
+#include <functional>
+
namespace android {
namespace hardware {
namespace bluetooth {
diff --git a/bluetooth/1.0/default/hci_protocol.cc b/bluetooth/1.0/default/hci_protocol.cc
index a208da16df..5d6f1d1396 100644
--- a/bluetooth/1.0/default/hci_protocol.cc
+++ b/bluetooth/1.0/default/hci_protocol.cc
@@ -18,6 +18,7 @@
#define LOG_TAG "android.hardware.bluetooth-hci-hci_protocol"
#include <assert.h>
+#include <errno.h>
#include <fcntl.h>
#include <log/log.h>