summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gralloc/gralloc_module.cpp1
-rw-r--r--gralloc960/gralloc_module_ion.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/gralloc/gralloc_module.cpp b/gralloc/gralloc_module.cpp
index d0cb0809..38ed3dad 100644
--- a/gralloc/gralloc_module.cpp
+++ b/gralloc/gralloc_module.cpp
@@ -18,6 +18,7 @@
#include <errno.h>
#include <pthread.h>
+#include <string.h>
#include <cutils/log.h>
#include <cutils/atomic.h>
diff --git a/gralloc960/gralloc_module_ion.cpp b/gralloc960/gralloc_module_ion.cpp
index 9d3c4c8e..49a17a05 100644
--- a/gralloc960/gralloc_module_ion.cpp
+++ b/gralloc960/gralloc_module_ion.cpp
@@ -18,6 +18,7 @@
#include <errno.h>
#include <pthread.h>
+#include <string.h>
#include <cutils/log.h>
#include <cutils/atomic.h>