diff options
-rw-r--r-- | nci/jni/CondVar.cpp | 1 | ||||
-rw-r--r-- | nci/jni/DataQueue.cpp | 3 | ||||
-rw-r--r-- | nci/jni/Mutex.cpp | 1 | ||||
-rw-r--r-- | nci/jni/NativeLlcpConnectionlessSocket.cpp | 4 | ||||
-rwxr-xr-x | nci/jni/NativeNfcTag.cpp | 2 | ||||
-rw-r--r-- | nxp/jni/com_android_nfc_NativeLlcpConnectionlessSocket.cpp | 3 | ||||
-rw-r--r-- | nxp/jni/com_android_nfc_NativeLlcpServiceSocket.cpp | 3 | ||||
-rw-r--r-- | nxp/jni/com_android_nfc_NativeNfcTag.cpp | 3 | ||||
-rw-r--r-- | nxp/jni/com_android_nfc_NativeP2pDevice.cpp | 3 | ||||
-rw-r--r-- | nxp/jni/com_android_nfc_list.cpp | 3 |
10 files changed, 20 insertions, 6 deletions
diff --git a/nci/jni/CondVar.cpp b/nci/jni/CondVar.cpp index ed550cd1..9d8c9b1c 100644 --- a/nci/jni/CondVar.cpp +++ b/nci/jni/CondVar.cpp @@ -23,6 +23,7 @@ #include <cutils/log.h> #include <errno.h> +#include <string.h> /******************************************************************************* diff --git a/nci/jni/DataQueue.cpp b/nci/jni/DataQueue.cpp index bfe573e3..c86c1263 100644 --- a/nci/jni/DataQueue.cpp +++ b/nci/jni/DataQueue.cpp @@ -20,6 +20,9 @@ #include "DataQueue.h" +#include <malloc.h> +#include <string.h> + #include <cutils/log.h> diff --git a/nci/jni/Mutex.cpp b/nci/jni/Mutex.cpp index faf62d4a..7382a0ea 100644 --- a/nci/jni/Mutex.cpp +++ b/nci/jni/Mutex.cpp @@ -23,6 +23,7 @@ #include <cutils/log.h> #include <errno.h> +#include <string.h> /******************************************************************************* ** diff --git a/nci/jni/NativeLlcpConnectionlessSocket.cpp b/nci/jni/NativeLlcpConnectionlessSocket.cpp index dee8f1b3..fb0b96db 100644 --- a/nci/jni/NativeLlcpConnectionlessSocket.cpp +++ b/nci/jni/NativeLlcpConnectionlessSocket.cpp @@ -14,8 +14,10 @@ * limitations under the License. */ -#include <semaphore.h> #include <errno.h> +#include <malloc.h> +#include <semaphore.h> +#include <string.h> #include "OverrideLog.h" #include "NfcJniUtil.h" #include "JavaClassConstants.h" diff --git a/nci/jni/NativeNfcTag.cpp b/nci/jni/NativeNfcTag.cpp index 840c64d8..844e9cfc 100755 --- a/nci/jni/NativeNfcTag.cpp +++ b/nci/jni/NativeNfcTag.cpp @@ -16,8 +16,10 @@ #include <semaphore.h> #include <errno.h> +#include <malloc.h> #include <time.h> #include <signal.h> +#include <string.h> #include "OverrideLog.h" #include "NfcJniUtil.h" #include "NfcTag.h" 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 |