summaryrefslogtreecommitdiffstats
path: root/nxp
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-01-28 17:47:08 -0800
committerElliott Hughes <enh@google.com>2015-01-28 19:27:38 -0800
commit983b839bc07f834b007a57d134352d477b1aa9a7 (patch)
tree803bb11004c52e06383aaab53439e0df7982728f /nxp
parent2d1187fa6e9a060a39d845322fdec9a711c42faa (diff)
downloadandroid_packages_apps_Nfc-983b839bc07f834b007a57d134352d477b1aa9a7.tar.gz
android_packages_apps_Nfc-983b839bc07f834b007a57d134352d477b1aa9a7.tar.bz2
android_packages_apps_Nfc-983b839bc07f834b007a57d134352d477b1aa9a7.zip
Add missing includes.
Change-Id: I1dc1227e9800a46fdf44bd8f18a76c20adad5e5e
Diffstat (limited to 'nxp')
-rw-r--r--nxp/jni/com_android_nfc_NativeLlcpConnectionlessSocket.cpp3
-rw-r--r--nxp/jni/com_android_nfc_NativeLlcpServiceSocket.cpp3
-rw-r--r--nxp/jni/com_android_nfc_NativeNfcTag.cpp3
-rw-r--r--nxp/jni/com_android_nfc_NativeP2pDevice.cpp3
-rw-r--r--nxp/jni/com_android_nfc_list.cpp3
5 files changed, 10 insertions, 5 deletions
diff --git a/nxp/jni/com_android_nfc_NativeLlcpConnectionlessSocket.cpp b/nxp/jni/com_android_nfc_NativeLlcpConnectionlessSocket.cpp
index 74f07642..b1fe791e 100644
--- a/nxp/jni/com_android_nfc_NativeLlcpConnectionlessSocket.cpp
+++ b/nxp/jni/com_android_nfc_NativeLlcpConnectionlessSocket.cpp
@@ -14,8 +14,9 @@
* limitations under the License.
*/
-#include <semaphore.h>
#include <errno.h>
+#include <malloc.h>
+#include <semaphore.h>
#include "com_android_nfc.h"
diff --git a/nxp/jni/com_android_nfc_NativeLlcpServiceSocket.cpp b/nxp/jni/com_android_nfc_NativeLlcpServiceSocket.cpp
index e73df3e0..eeeb9094 100644
--- a/nxp/jni/com_android_nfc_NativeLlcpServiceSocket.cpp
+++ b/nxp/jni/com_android_nfc_NativeLlcpServiceSocket.cpp
@@ -14,8 +14,9 @@
* limitations under the License.
*/
-#include <semaphore.h>
#include <errno.h>
+#include <malloc.h>
+#include <semaphore.h>
#include <ScopedLocalRef.h>
#include "com_android_nfc.h"
diff --git a/nxp/jni/com_android_nfc_NativeNfcTag.cpp b/nxp/jni/com_android_nfc_NativeNfcTag.cpp
index 3fb98fce..09af46f6 100644
--- a/nxp/jni/com_android_nfc_NativeNfcTag.cpp
+++ b/nxp/jni/com_android_nfc_NativeNfcTag.cpp
@@ -14,8 +14,9 @@
* limitations under the License.
*/
-#include <semaphore.h>
#include <errno.h>
+#include <malloc.h>
+#include <semaphore.h>
#include <ScopedLocalRef.h>
#include <ScopedPrimitiveArray.h>
diff --git a/nxp/jni/com_android_nfc_NativeP2pDevice.cpp b/nxp/jni/com_android_nfc_NativeP2pDevice.cpp
index 2f4a5b20..f78f6261 100644
--- a/nxp/jni/com_android_nfc_NativeP2pDevice.cpp
+++ b/nxp/jni/com_android_nfc_NativeP2pDevice.cpp
@@ -15,8 +15,9 @@
* limitations under the License.
*/
-#include <semaphore.h>
#include <errno.h>
+#include <malloc.h>
+#include <semaphore.h>
#include <ScopedLocalRef.h>
#include "com_android_nfc.h"
diff --git a/nxp/jni/com_android_nfc_list.cpp b/nxp/jni/com_android_nfc_list.cpp
index f0487d3c..1d9819f7 100644
--- a/nxp/jni/com_android_nfc_list.cpp
+++ b/nxp/jni/com_android_nfc_list.cpp
@@ -16,8 +16,9 @@
#include <com_android_nfc_list.h>
#include <com_android_nfc.h>
-#include <pthread.h>
#include <errno.h>
+#include <malloc.h>
+#include <pthread.h>
#include <cutils/log.h>
#undef LOG_TAG