aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSonny Sasaka <sonnysasaka@google.com>2021-11-02 03:47:01 -0700
committerSonny Sasaka <sonnysasaka@google.com>2021-11-02 04:07:36 -0700
commit22c035e2174cc1d167584810c50d9aa70d3108e8 (patch)
treee3a5e3a74539790fefda1893dbbf1c90a4500325
parent7c43e37aa8957602c9f220cd520770501f414a7c (diff)
downloadbt-22c035e2174cc1d167584810c50d9aa70d3108e8.tar.gz
floss: Fix cannot find os/bt_keystore.h and missing include
Fixing breakage in Linux build. Bug: 203870024 Tag: #floss Test: Manual - Build on Linux Change-Id: I65424060d9f963e5f5bb94ace6294d908113a997
-rw-r--r--btif/BUILD.gn1
-rw-r--r--gd/rust/topshim/hfp/hfp_shim.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/btif/BUILD.gn b/btif/BUILD.gn
index 0100bb03d..26be562c3 100644
--- a/btif/BUILD.gn
+++ b/btif/BUILD.gn
@@ -102,6 +102,7 @@ static_library("btif") {
"//bt/device/include",
"//bt/embdrv/sbc/encoder/include",
"//bt/embdrv/sbc/decoder/include",
+ "//bt/gd",
"//bt/hci/include",
"//bt/stack/a2dp",
"//bt/stack/btm",
diff --git a/gd/rust/topshim/hfp/hfp_shim.h b/gd/rust/topshim/hfp/hfp_shim.h
index e8a962242..3ce8db036 100644
--- a/gd/rust/topshim/hfp/hfp_shim.h
+++ b/gd/rust/topshim/hfp/hfp_shim.h
@@ -16,6 +16,8 @@
#pragma once
+#include <memory>
+
#include "btif/include/btif_hf.h"
#include "include/hardware/bluetooth_headset_callbacks.h"
#include "types/raw_address.h"