summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-01-31 09:41:50 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-01-31 09:41:50 +0000
commit811bade0604ee8cc065017b3f7c6b35552b2416d (patch)
tree5fa4c768ec6906d68a13a83f9d3b188c5d874cd9
parent6d151843c00cf51fc1c9cde87ff00c8ad14ee9b3 (diff)
parentf00995d55b4166fb962dbb80b02a9f001e0b55b6 (diff)
downloadinvensense-811bade0604ee8cc065017b3f7c6b35552b2416d.tar.gz
am f00995d5: am 00f3dccb: Merge "Fix "error: \'strerror\' was not declared in this scope"."
* commit 'f00995d55b4166fb962dbb80b02a9f001e0b55b6': Fix "error: 'strerror' was not declared in this scope".
-rw-r--r--60xx/libsensors_iio/SensorBase.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/60xx/libsensors_iio/SensorBase.cpp b/60xx/libsensors_iio/SensorBase.cpp
index 14e8861..587aaf5 100644
--- a/60xx/libsensors_iio/SensorBase.cpp
+++ b/60xx/libsensors_iio/SensorBase.cpp
@@ -19,6 +19,7 @@
#include <math.h>
#include <poll.h>
#include <dirent.h>
+#include <string.h>
#include <sys/select.h>
#include <cutils/log.h>
#include <linux/input.h>