diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2018-02-16 21:52:48 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2018-02-16 21:52:48 +0000 |
commit | 5763f5e96e589694f704ba6baf1db383866314ba (patch) | |
tree | 56ae7a036130f7f3f195e3d8775f02760a0c1599 | |
parent | 8eaa22a766752546b5f503b8b11f48b0f0db72bb (diff) | |
parent | e10ad7882ca470c79febdb1180b1928f4542da6f (diff) | |
download | libbt-o-mr1-iot-preview-7.tar.gz |
Merge "libbt: fixup build errors when building the library under vndk."android-wear-p-preview-2android-p-preview-5android-p-preview-4android-p-preview-3android-p-preview-2android-p-preview-1android-o-mr1-iot-release-1.0.2android-o-mr1-iot-release-1.0.1android-o-mr1-iot-release-1.0.0android-o-mr1-iot-preview-8android-o-mr1-iot-preview-7android-n-iot-release-smart-display-r2android-n-iot-release-smart-displayandroid-n-iot-release-polk-at1android-n-iot-release-lg-thinq-wk7o-mr1-iot-preview-8o-mr1-iot-preview-7
-rw-r--r-- | Android.mk | 2 | ||||
-rw-r--r-- | src/conf.c | 1 | ||||
-rw-r--r-- | src/hardware.c | 2 | ||||
-rw-r--r-- | src/upio.c | 3 | ||||
-rw-r--r-- | src/userial_vendor.c | 1 |
5 files changed, 9 insertions, 0 deletions
@@ -43,6 +43,8 @@ LOCAL_C_INCLUDES += \ LOCAL_C_INCLUDES += $(bdroid_C_INCLUDES) LOCAL_CFLAGS += $(bdroid_CFLAGS) +LOCAL_HEADER_LIBRARIES := libutils_headers + ifneq ($(BOARD_HAVE_BLUETOOTH_BCM_A2DP_OFFLOAD),) LOCAL_STATIC_LIBRARIES := libbt-brcm_a2dp endif @@ -30,6 +30,7 @@ #include <utils/Log.h> #include <string.h> #include "bt_vendor_brcm.h" +#include <stdio.h> /****************************************************************************** ** Externs diff --git a/src/hardware.c b/src/hardware.c index 93def07..da9b918 100644 --- a/src/hardware.c +++ b/src/hardware.c @@ -41,6 +41,8 @@ #include <cutils/properties.h> #include <stdlib.h> #include <string.h> +#include <stdio.h> +#include <unistd.h> #include "bt_hci_bdroid.h" #include "bt_vendor_brcm.h" #include "esco_parameters.h" @@ -36,6 +36,9 @@ #include "bt_vendor_brcm.h" #include "upio.h" #include "userial_vendor.h" +#include <stdio.h> +#include <unistd.h> +#include <time.h> /****************************************************************************** ** Constants & Macros diff --git a/src/userial_vendor.c b/src/userial_vendor.c index 3ff518b..c727061 100644 --- a/src/userial_vendor.c +++ b/src/userial_vendor.c @@ -35,6 +35,7 @@ #include "bt_vendor_brcm.h" #include "userial.h" #include "userial_vendor.h" +#include <unistd.h> /****************************************************************************** ** Constants & Macros |