aboutsummaryrefslogtreecommitdiffstats
path: root/libsensors/geomagneticd
diff options
context:
space:
mode:
authorZiyan <jaraidaniel@gmail.com>2016-02-26 16:09:30 +0100
committerAndreas Blaesius <skate4life@gmx.de>2016-02-26 11:36:54 -0800
commit1c8c0144f56ce57a50dff3d471081e7a887f7d64 (patch)
treeb53c234662b0418d3f93fac2077154ff22a0966c /libsensors/geomagneticd
parentddcb5b46e26b7f8ea2c984a8b94caf084541b882 (diff)
downloaddevice_samsung_espressowifi-1c8c0144f56ce57a50dff3d471081e7a887f7d64.zip
device_samsung_espressowifi-1c8c0144f56ce57a50dff3d471081e7a887f7d64.tar.gz
device_samsung_espressowifi-1c8c0144f56ce57a50dff3d471081e7a887f7d64.tar.bz2
libsensors: include missing headers to silence implicit declarations
Change-Id: If0796d9c6e80d8fbdfa5d41f526bb6cc23b85f08
Diffstat (limited to 'libsensors/geomagneticd')
-rw-r--r--libsensors/geomagneticd/geomagneticd.c1
-rw-r--r--libsensors/geomagneticd/input.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/libsensors/geomagneticd/geomagneticd.c b/libsensors/geomagneticd/geomagneticd.c
index 61c4795..0f794e8 100644
--- a/libsensors/geomagneticd/geomagneticd.c
+++ b/libsensors/geomagneticd/geomagneticd.c
@@ -16,6 +16,7 @@
*/
#include <stdlib.h>
+#include <string.h>
#include <stdio.h>
#include <fcntl.h>
#include <errno.h>
diff --git a/libsensors/geomagneticd/input.c b/libsensors/geomagneticd/input.c
index 3aedd05..360dc59 100644
--- a/libsensors/geomagneticd/input.c
+++ b/libsensors/geomagneticd/input.c
@@ -16,6 +16,7 @@
*/
#include <stdlib.h>
+#include <string.h>
#include <unistd.h>
#include <stdint.h>
#include <fcntl.h>