summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNolen Johnson <johnsonnolen@gmail.com>2023-10-30 19:28:09 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2023-10-30 19:28:09 +0000
commitbce5fe70a940a7b1403e80c9a91244f58b8c3019 (patch)
tree1a59471788f7335d516cc2c4437f46c23bf629b8
parentbec4a9c33f601c2d2baea7ce90d919390328b25a (diff)
parent2ad8a91c21075bad0507d4d0f23df9ae69f97814 (diff)
downloadcontexthub-bce5fe70a940a7b1403e80c9a91244f58b8c3019.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: I23102557d9510085eaee9db0b2e7205d9d6c882e 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>