summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-01-31 17:59:35 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-01-31 17:59:35 +0000
commit95976b61978934e42b557cbd3ac04edb6431cd17 (patch)
tree89985471407eb23df6109206451e22d59fd46db7
parentf00995d55b4166fb962dbb80b02a9f001e0b55b6 (diff)
parentb17333a033463246625292aff23f798578e4e7ea (diff)
downloadinvensense-95976b61978934e42b557cbd3ac04edb6431cd17.tar.gz
am b17333a0: Merge "Fix "error: \'strerror\' was not declared in this scope"."
* commit 'b17333a033463246625292aff23f798578e4e7ea': Fix "error: 'strerror' was not declared in this scope".
-rw-r--r--60xx/libsensors/SensorBase.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/60xx/libsensors/SensorBase.cpp b/60xx/libsensors/SensorBase.cpp
index 79b1ee2..9cc1ee8 100644
--- a/60xx/libsensors/SensorBase.cpp
+++ b/60xx/libsensors/SensorBase.cpp
@@ -18,6 +18,7 @@
#include <errno.h>
#include <math.h>
#include <poll.h>
+#include <string.h>
#include <unistd.h>
#include <dirent.h>
#include <sys/select.h>