summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-01-31 07:58:51 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-01-31 07:58:51 +0000
commit19bd91bc30f4a74a97339c6976264bf40f6eca8e (patch)
tree8aef525c7ba2e76d715cae11c83a6442522a1c3e
parent01da2c25c88cf45168bdf767dce1f2f65ddaf385 (diff)
parentce562e906adc00aa191d8240cd66d60961d6f863 (diff)
downloadmanta-19bd91bc30f4a74a97339c6976264bf40f6eca8e.tar.gz
am ce562e90: Merge "Fix "error: \'strerror\' was not declared in this scope"."
* commit 'ce562e906adc00aa191d8240cd66d60961d6f863': Fix "error: 'strerror' was not declared in this scope".
-rw-r--r--libsensors/SensorBase.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libsensors/SensorBase.cpp b/libsensors/SensorBase.cpp
index b904a00..1dae3d0 100644
--- a/libsensors/SensorBase.cpp
+++ b/libsensors/SensorBase.cpp
@@ -20,6 +20,7 @@
#include <errno.h>
#include <math.h>
#include <poll.h>
+#include <string.h>
#include <unistd.h>
#include <dirent.h>
#include <sys/select.h>