summaryrefslogtreecommitdiffstats
path: root/nxp/jni/com_android_nfc_NativeP2pDevice.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'nxp/jni/com_android_nfc_NativeP2pDevice.cpp')
-rw-r--r--nxp/jni/com_android_nfc_NativeP2pDevice.cpp3
1 files changed, 2 insertions, 1 deletions
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"