summaryrefslogtreecommitdiff
path: root/libs/hwui/ProfileDataContainer.cpp
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2017-12-12 16:08:11 -0800
committerDan Albert <danalbert@google.com>2017-12-12 16:08:11 -0800
commit9b6a62f94c40ab222a447715c2a1376363169f83 (patch)
tree40403efaa50a1cab889cea632f5c4371b36d6e55 /libs/hwui/ProfileDataContainer.cpp
parentf7a69aeeabecf52c0e78458fa764af9481c11928 (diff)
Include what we use.
Test: mma Bug: None Change-Id: I9458aedad9a84f1660d3a2b08717b111dc8e3b74 Exempt-From-Owner-Approval: trivial cleanup
Diffstat (limited to 'libs/hwui/ProfileDataContainer.cpp')
-rw-r--r--libs/hwui/ProfileDataContainer.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/hwui/ProfileDataContainer.cpp b/libs/hwui/ProfileDataContainer.cpp
index cbf3eb390f53..9db0ef1d6e9a 100644
--- a/libs/hwui/ProfileDataContainer.cpp
+++ b/libs/hwui/ProfileDataContainer.cpp
@@ -19,6 +19,7 @@
#include <log/log.h>
#include <cutils/ashmem.h>
+#include <errno.h>
#include <sys/mman.h>
namespace android {
@@ -75,4 +76,4 @@ void ProfileDataContainer::switchStorageToAshmem(int ashmemfd) {
}
} /* namespace uirenderer */
-} /* namespace android */ \ No newline at end of file
+} /* namespace android */