summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNolen Johnson <johnsonnolen@gmail.com>2023-10-30 18:27:55 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2023-10-30 18:27:55 +0000
commitb8cb1a2a4c8cb85034df7c9cadd3cf959518e621 (patch)
tree1a59471788f7335d516cc2c4437f46c23bf629b8
parent14d34dd8ce6568870096cd549b2c9b518324f698 (diff)
parent2ad8a91c21075bad0507d4d0f23df9ae69f97814 (diff)
downloadcontexthub-b8cb1a2a4c8cb85034df7c9cadd3cf959518e621.tar.gz
contexthub-nano: Include headers for 4.4 kernels am: 2ad8a91c21
Original change: https://android-review.googlesource.com/c/device/google/contexthub/+/2781288 Change-Id: I9b8f0296be37b0f0568ab1091046dc0628b4a24d Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r--contexthubhal/NanohubHidlAdapter.cpp1
-rw-r--r--contexthubhal/system_comms.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/contexthubhal/NanohubHidlAdapter.cpp b/contexthubhal/NanohubHidlAdapter.cpp
index 671d7812..669011e5 100644
--- a/contexthubhal/NanohubHidlAdapter.cpp
+++ b/contexthubhal/NanohubHidlAdapter.cpp
@@ -24,6 +24,7 @@
#include "NanohubHidlAdapter.h"
#include "nanohub_perdevice.h"
+#include <fcntl.h>
#include <inttypes.h>
#include <log/log.h>
diff --git a/contexthubhal/system_comms.cpp b/contexthubhal/system_comms.cpp
index 30106995..01824af4 100644
--- a/contexthubhal/system_comms.cpp
+++ b/contexthubhal/system_comms.cpp
@@ -31,6 +31,7 @@
#include <log/log.h>
#include <endian.h>
+#include <fcntl.h>
#include <sys/stat.h>
#include <media/stagefright/foundation/ADebug.h>