summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2020-08-26 01:58:45 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2020-08-26 01:58:45 +0000
commitc7c3d71686c28d0e9490cb357d1602a0aac4b120 (patch)
tree9620d13536665f71e467a46fdfe8634a1bba88e3
parent0122dff58cb0ba4740d025f8a89ecf858f1cec99 (diff)
parent45917e3bae0a1b83b99086bae12ce28594a04d3c (diff)
downloadml-c7c3d71686c28d0e9490cb357d1602a0aac4b120.tar.gz
Merge "nn: add missing include for IWYU"
-rw-r--r--nn/runtime/test/TestValidation.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/nn/runtime/test/TestValidation.cpp b/nn/runtime/test/TestValidation.cpp
index 86dbb0baf..1d9b8548f 100644
--- a/nn/runtime/test/TestValidation.cpp
+++ b/nn/runtime/test/TestValidation.cpp
@@ -16,6 +16,9 @@
#include <android-base/logging.h>
#include <android-base/scopeguard.h>
+// android/log.h contains __INTRODUCED_IN() macro and must be included before
+// sharedmem.h
+#include <android/log.h>
#include <android/sharedmem.h>
#include <gtest/gtest.h>
#include <sys/mman.h>