summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-01-30 21:28:00 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-01-30 21:28:00 +0000
commit535cd57708b4b9a65ba76837911b798ae805bc3d (patch)
treeb7d4e207b12366ba4e07c5e86f70a9d7fb13a20d /modules
parentebdf1286e7d68da84f7d23287dcae17a2dbca7e3 (diff)
parent06b402dd10f6d6d0e2ee0127e9254d0bd7f480fe (diff)
downloadhardware_libhardware-535cd57708b4b9a65ba76837911b798ae805bc3d.zip
hardware_libhardware-535cd57708b4b9a65ba76837911b798ae805bc3d.tar.gz
hardware_libhardware-535cd57708b4b9a65ba76837911b798ae805bc3d.tar.bz2
am 06b402dd: am ac41815a: Merge "Add missing includes."
* commit '06b402dd10f6d6d0e2ee0127e9254d0bd7f480fe': Add missing includes.
Diffstat (limited to 'modules')
-rw-r--r--modules/audio/audio_hw.c1
-rw-r--r--modules/consumerir/consumerir.c1
-rw-r--r--modules/fingerprint/fingerprint.c1
-rw-r--r--modules/local_time/local_time_hw.c3
-rw-r--r--modules/nfc-nci/nfc_nci_example.c1
-rw-r--r--modules/nfc/nfc_pn544_example.c1
-rw-r--r--modules/vibrator/vibrator.c1
7 files changed, 8 insertions, 1 deletions
diff --git a/modules/audio/audio_hw.c b/modules/audio/audio_hw.c
index 18c0e59..637e3f4 100644
--- a/modules/audio/audio_hw.c
+++ b/modules/audio/audio_hw.c
@@ -18,6 +18,7 @@
//#define LOG_NDEBUG 0
#include <errno.h>
+#include <malloc.h>
#include <pthread.h>
#include <stdint.h>
#include <sys/time.h>
diff --git a/modules/consumerir/consumerir.c b/modules/consumerir/consumerir.c
index 87039cc..f3eac0b 100644
--- a/modules/consumerir/consumerir.c
+++ b/modules/consumerir/consumerir.c
@@ -16,6 +16,7 @@
#define LOG_TAG "ConsumerIrHal"
#include <errno.h>
+#include <malloc.h>
#include <string.h>
#include <cutils/log.h>
#include <hardware/hardware.h>
diff --git a/modules/fingerprint/fingerprint.c b/modules/fingerprint/fingerprint.c
index 14dac12..0346518 100644
--- a/modules/fingerprint/fingerprint.c
+++ b/modules/fingerprint/fingerprint.c
@@ -16,6 +16,7 @@
#define LOG_TAG "FingerprintHal"
#include <errno.h>
+#include <malloc.h>
#include <string.h>
#include <cutils/log.h>
#include <hardware/hardware.h>
diff --git a/modules/local_time/local_time_hw.c b/modules/local_time/local_time_hw.c
index 308f7d9..ac597f4 100644
--- a/modules/local_time/local_time_hw.c
+++ b/modules/local_time/local_time_hw.c
@@ -18,9 +18,10 @@
//#define LOG_NDEBUG 0
#include <errno.h>
+#include <malloc.h>
#include <stdint.h>
+#include <string.h>
#include <sys/time.h>
-#include <linux/time.h>
#include <cutils/log.h>
diff --git a/modules/nfc-nci/nfc_nci_example.c b/modules/nfc-nci/nfc_nci_example.c
index 2514225..758c2b7 100644
--- a/modules/nfc-nci/nfc_nci_example.c
+++ b/modules/nfc-nci/nfc_nci_example.c
@@ -14,6 +14,7 @@
* limitations under the License.
*/
#include <errno.h>
+#include <malloc.h>
#include <string.h>
#include <cutils/log.h>
diff --git a/modules/nfc/nfc_pn544_example.c b/modules/nfc/nfc_pn544_example.c
index 54c9c56..71bfd6b 100644
--- a/modules/nfc/nfc_pn544_example.c
+++ b/modules/nfc/nfc_pn544_example.c
@@ -14,6 +14,7 @@
* limitations under the License.
*/
#include <errno.h>
+#include <malloc.h>
#include <string.h>
#include <hardware/hardware.h>
diff --git a/modules/vibrator/vibrator.c b/modules/vibrator/vibrator.c
index ce4c03c..6b3ce57 100644
--- a/modules/vibrator/vibrator.c
+++ b/modules/vibrator/vibrator.c
@@ -19,6 +19,7 @@
#include <cutils/log.h>
+#include <malloc.h>
#include <stdio.h>
#include <unistd.h>
#include <fcntl.h>