summaryrefslogtreecommitdiff
path: root/native
diff options
context:
space:
mode:
authorTom Cherry <tomcherry@google.com>2020-04-13 13:09:01 -0700
committerTom Cherry <tomcherry@google.com>2020-04-13 13:09:58 -0700
commit842e5af146c561d0d8a4562e33c2b4f1b5532207 (patch)
tree3ebc04e342727c3d7565631e5590532205fbce23 /native
parentbb24608805cfd71bf7f58817ecd34ff7c2d5c879 (diff)
parent7d0c3abcf40152af6529b26a91c04428bf066ade (diff)
resolve merge conflicts of 7d0c3abcf40152af6529b26a91c04428bf066ade to rvc-dev-plus-aosp
Test: I solemnly swear I tested this conflict resolution. Bug: None Change-Id: Ia19eb2f0061426915f857fdee1cd6112b4a5f9ad
Diffstat (limited to 'native')
-rw-r--r--native/android/sharedmem.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/native/android/sharedmem.cpp b/native/android/sharedmem.cpp
index 4410bd6fbeed..338b280a8ebe 100644
--- a/native/android/sharedmem.cpp
+++ b/native/android/sharedmem.cpp
@@ -16,6 +16,9 @@
#include <jni.h>
+#include <fcntl.h>
+#include <unistd.h>
+
#include <android/sharedmem.h>
#include <android/sharedmem_jni.h>
#include <cutils/ashmem.h>
@@ -23,7 +26,6 @@
#include <utils/Errors.h>
#include <mutex>
-#include <unistd.h>
static struct {
jclass clazz;