summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-01-31 09:48:14 -0800
committerElliott Hughes <enh@google.com>2015-01-31 09:48:14 -0800
commit622c366c9f6db3774290f3fa8f833df5c7669651 (patch)
tree4fe0c50b2267bb3f2bcf1c163cdc64faa274832e
parent00f3dccb4118f9787900f2f76302aa848b6575ff (diff)
downloadinvensense-622c366c9f6db3774290f3fa8f833df5c7669651.tar.gz
Fix "error: 'strerror' was not declared in this scope".
Change-Id: I3146ec0eedf06e313d5e3ed7f48f3cb9dd67f2bd
-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>