summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-01-30 23:23:19 -0800
committerElliott Hughes <enh@google.com>2015-01-30 23:23:19 -0800
commit85d9dff5f32815c5d523e30611d762ba992fed99 (patch)
tree5b32bf29dd426eabd8e34fcc4cbb66a4721ef2f1
parentafea6448ab97b0f884fadd9f765bcb71ed86eefb (diff)
downloadmanta-85d9dff5f32815c5d523e30611d762ba992fed99.tar.gz
Fix "error: use of undeclared identifier 'memset'".
Change-Id: I76deb5b949862e5e0cdbd26e822a97877c51762a
-rw-r--r--libsensors/IioSensorBase.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/libsensors/IioSensorBase.cpp b/libsensors/IioSensorBase.cpp
index 437d095..88abae3 100644
--- a/libsensors/IioSensorBase.cpp
+++ b/libsensors/IioSensorBase.cpp
@@ -19,7 +19,9 @@
#include <fcntl.h>
#include <errno.h>
#include <cutils/log.h>
+#include <malloc.h>
#include <pthread.h>
+#include <string.h>
#include "IioSensorBase.h"