summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-01-31 00:39:29 -0800
committerElliott Hughes <enh@google.com>2015-01-31 00:39:29 -0800
commit4129021f910831ea90b42cba865ae7536639260f (patch)
tree8fbf461e4181ed96da9aa5a07f02497f6aaea10b
parenta813e72359032e1a2f5c95eb4dd1ac3213ef340e (diff)
downloadinvensense-4129021f910831ea90b42cba865ae7536639260f.tar.gz
Fix "error: 'strerror' was not declared in this scope".
Change-Id: I74aa1d10af81b095eb1f9e8a9f61d2097ab51205
-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>