diff options
author | Steven Moreland <smoreland@google.com> | 2018-03-28 17:08:21 -0700 |
---|---|---|
committer | Steven Moreland <smoreland@google.com> | 2018-03-28 17:08:21 -0700 |
commit | c3236d6d9f6aa72bc087d168a6f27f9c56a145e1 (patch) | |
tree | f9fe08ef2b7be7cafe92d5c4233a401c6afb1ea8 /libbt-vendor/src/hw_ar3k.c | |
parent | e29295aeefc1f6adec5acab4429e05797e01d4c2 (diff) | |
download | bt-c3236d6d9f6aa72bc087d168a6f27f9c56a145e1.tar.gz |
Make libbt-vendor build with the VNDK.
When the vndk is enabled (BOARD_VNDK_VERSION=current),
vendor libraries must only link against vendor variants
in the build system. This also means that they receive
restricted sets of headers and that automatic global
headers are restricted.
Test: build libbt-vendor with BOARD_VNDK_VERSION=current
Bug: 69574580
Change-Id: Ibb9a236de3059612e414b17d160ddac9168ef536
Diffstat (limited to 'libbt-vendor/src/hw_ar3k.c')
-rw-r--r-- | libbt-vendor/src/hw_ar3k.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libbt-vendor/src/hw_ar3k.c b/libbt-vendor/src/hw_ar3k.c index cc54db8..77fe52c 100644 --- a/libbt-vendor/src/hw_ar3k.c +++ b/libbt-vendor/src/hw_ar3k.c @@ -34,8 +34,9 @@ extern "C" { #define LOG_TAG "bt_vendor" +#include <sys/uio.h> #include <sys/socket.h> -#include <utils/Log.h> +#include <log/log.h> #include <sys/types.h> #include <sys/stat.h> #include <signal.h> @@ -48,6 +49,7 @@ extern "C" { #include <stdlib.h> #include <termios.h> #include <string.h> +#include <unistd.h> #include "bt_hci_bdroid.h" #include "bt_vendor_qcom.h" |