summaryrefslogtreecommitdiffstats
path: root/libsensors
diff options
context:
space:
mode:
authorWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2017-05-02 21:16:20 +0200
committerWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2017-05-02 21:16:20 +0200
commitd8b98dca265b98af6b6b65fe6c18d22f552d05cc (patch)
tree8830b562a65c407f2fe71d77aecba9c18e5a649a /libsensors
parentdd53c447fc112f3b8b76d0a3310f9eac18509783 (diff)
downloaddevice_samsung_i9300-replicant-6.0-0001.zip
device_samsung_i9300-replicant-6.0-0001.tar.gz
device_samsung_i9300-replicant-6.0-0001.tar.bz2
libsensors: get rid of some implicit declaration warningsHEADreplicant-6.0-0001replicant-6.0
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
Diffstat (limited to 'libsensors')
-rw-r--r--libsensors/akm8975.c1
-rw-r--r--libsensors/lps331ap.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/libsensors/akm8975.c b/libsensors/akm8975.c
index 47771fb..c13c339 100644
--- a/libsensors/akm8975.c
+++ b/libsensors/akm8975.c
@@ -21,6 +21,7 @@
#include <stdint.h>
#include <fcntl.h>
#include <errno.h>
+#include <string.h>
#include <hardware/sensors.h>
#include <hardware/hardware.h>
diff --git a/libsensors/lps331ap.c b/libsensors/lps331ap.c
index a8ef55a..c177622 100644
--- a/libsensors/lps331ap.c
+++ b/libsensors/lps331ap.c
@@ -21,6 +21,7 @@
#include <fcntl.h>
#include <errno.h>
#include <math.h>
+#include <string.h>
#include <sys/types.h>
#include <linux/ioctl.h>
#include <linux/input.h>