summaryrefslogtreecommitdiffstats
path: root/halimpl
diff options
context:
space:
mode:
authorJiyong Park <jiyong@google.com>2017-07-03 20:13:22 +0900
committerJiyong Park <jiyong@google.com>2017-07-03 20:18:35 +0900
commitd897d6db79d709dc0b7969a9ad7dc141b3f06527 (patch)
tree19ace117a4f5107bffd5aad249c79218c272fa89 /halimpl
parentbdb53f8487bf83e36666f5cbe247d7156a057bfa (diff)
downloadandroid_hardware_broadcom_nfc-d897d6db79d709dc0b7969a9ad7dc141b3f06527.tar.gz
android_hardware_broadcom_nfc-d897d6db79d709dc0b7969a9ad7dc141b3f06527.tar.bz2
android_hardware_broadcom_nfc-d897d6db79d709dc0b7969a9ad7dc141b3f06527.zip
Build nfc_nci.* with BOARD_VNDK_VERSION
Explicitly included stdio.h as global include path is not provided when building with BOARD_VNDK_VERSION. Furthermore, cutils/log.h is changed to log/log.h as the former has been deprecated. Bug: 37342627 Test: BOARD_VNDK_VERSION=current m -j nfc_nci.<target> where <target> is the name of a device Change-Id: I953c0606032efafc5f020ba8d4eafd2637b64948
Diffstat (limited to 'halimpl')
-rw-r--r--halimpl/pn54x/log/phNxpLog.c1
-rw-r--r--halimpl/pn54x/log/phNxpLog.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/halimpl/pn54x/log/phNxpLog.c b/halimpl/pn54x/log/phNxpLog.c
index 4b3661c..49d6911 100644
--- a/halimpl/pn54x/log/phNxpLog.c
+++ b/halimpl/pn54x/log/phNxpLog.c
@@ -14,6 +14,7 @@
* limitations under the License.
*/
+#include <stdio.h>
#include <string.h>
#if !defined(NXPLOG__H_INCLUDED)
#include "phNxpConfig.h"
diff --git a/halimpl/pn54x/log/phNxpLog.h b/halimpl/pn54x/log/phNxpLog.h
index c2e1d33..5037a4c 100644
--- a/halimpl/pn54x/log/phNxpLog.h
+++ b/halimpl/pn54x/log/phNxpLog.h
@@ -17,7 +17,7 @@
#if !defined(NXPLOG__H_INCLUDED)
#define NXPLOG__H_INCLUDED
-#include <cutils/log.h>
+#include <log/log.h>
typedef struct nci_log_level {
uint8_t global_log_level;