summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-01-31 08:54:31 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-01-31 08:54:31 +0000
commitf00995d55b4166fb962dbb80b02a9f001e0b55b6 (patch)
tree5fa4c768ec6906d68a13a83f9d3b188c5d874cd9
parent7db77debb1b2838123089cadb0bcfc86b2c74b27 (diff)
parent00f3dccb4118f9787900f2f76302aa848b6575ff (diff)
downloadinvensense-f00995d55b4166fb962dbb80b02a9f001e0b55b6.tar.gz
am 00f3dccb: Merge "Fix "error: \'strerror\' was not declared in this scope"."
* commit '00f3dccb4118f9787900f2f76302aa848b6575ff': 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>