summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaio Schnepper <caioschnepper@gmail.com>2015-10-13 21:00:25 -0300
committerCaio Schnepper <caioschnepper@gmail.com>2015-10-13 21:00:25 -0300
commita013587681268baf16b9d2c1bf6ff8e17ee92a1a (patch)
tree921870a563af4099b6a1b482dd245ff5347d71a8
parent4eb9f93d069e27cba5530ba32422d371dff792eb (diff)
downloaddevice_samsung_i9100-a013587681268baf16b9d2c1bf6ff8e17ee92a1a.zip
device_samsung_i9100-a013587681268baf16b9d2c1bf6ff8e17ee92a1a.tar.gz
device_samsung_i9100-a013587681268baf16b9d2c1bf6ff8e17ee92a1a.tar.bz2
libsensors: include <cstring>
Fix build Change-Id: Ib8aefb3b267f57e8d9232230490f551cfc91c13f
-rw-r--r--libsensors/AkmSensor.cpp1
-rw-r--r--libsensors/GyroSensor.cpp1
-rw-r--r--libsensors/InputEventReader.cpp1
-rw-r--r--libsensors/LightSensor.cpp1
-rw-r--r--libsensors/ProximitySensor.cpp1
-rw-r--r--libsensors/SensorBase.cpp1
-rw-r--r--libsensors/sensors.cpp1
7 files changed, 7 insertions, 0 deletions
diff --git a/libsensors/AkmSensor.cpp b/libsensors/AkmSensor.cpp
index aca232c..e26e281 100644
--- a/libsensors/AkmSensor.cpp
+++ b/libsensors/AkmSensor.cpp
@@ -22,6 +22,7 @@
#include <dirent.h>
#include <sys/select.h>
#include <dlfcn.h>
+#include <cstring>
#include "ak8973b.h"
diff --git a/libsensors/GyroSensor.cpp b/libsensors/GyroSensor.cpp
index 0b0a438..1feb877 100644
--- a/libsensors/GyroSensor.cpp
+++ b/libsensors/GyroSensor.cpp
@@ -22,6 +22,7 @@
#include <dirent.h>
#include <sys/select.h>
#include <cutils/log.h>
+#include <cstring>
#include "GyroSensor.h"
diff --git a/libsensors/InputEventReader.cpp b/libsensors/InputEventReader.cpp
index 1014f29..9bacc86 100644
--- a/libsensors/InputEventReader.cpp
+++ b/libsensors/InputEventReader.cpp
@@ -18,6 +18,7 @@
#include <errno.h>
#include <unistd.h>
#include <poll.h>
+#include <cstring>
#include <sys/cdefs.h>
#include <sys/types.h>
diff --git a/libsensors/LightSensor.cpp b/libsensors/LightSensor.cpp
index cab4fba..499c1a7 100644
--- a/libsensors/LightSensor.cpp
+++ b/libsensors/LightSensor.cpp
@@ -21,6 +21,7 @@
#include <unistd.h>
#include <dirent.h>
#include <sys/select.h>
+#include <cstring>
#include <cutils/log.h>
diff --git a/libsensors/ProximitySensor.cpp b/libsensors/ProximitySensor.cpp
index 9614f20..cc5780b 100644
--- a/libsensors/ProximitySensor.cpp
+++ b/libsensors/ProximitySensor.cpp
@@ -21,6 +21,7 @@
#include <unistd.h>
#include <dirent.h>
#include <sys/select.h>
+#include <cstring>
#include <cutils/log.h>
diff --git a/libsensors/SensorBase.cpp b/libsensors/SensorBase.cpp
index 79b1ee2..dcb3acc 100644
--- a/libsensors/SensorBase.cpp
+++ b/libsensors/SensorBase.cpp
@@ -21,6 +21,7 @@
#include <unistd.h>
#include <dirent.h>
#include <sys/select.h>
+#include <cstring>
#include <cutils/log.h>
diff --git a/libsensors/sensors.cpp b/libsensors/sensors.cpp
index 806d66b..6a91e1d 100644
--- a/libsensors/sensors.cpp
+++ b/libsensors/sensors.cpp
@@ -24,6 +24,7 @@
#include <poll.h>
#include <pthread.h>
#include <stdlib.h>
+#include <cstring>
#include <linux/input.h>