summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNolen Johnson <johnsonnolen@gmail.com>2023-10-30 20:49:40 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2023-10-30 20:49:40 +0000
commit63d65772a54b35fd0bba3e4c4f08e35f5087997d (patch)
tree1a59471788f7335d516cc2c4437f46c23bf629b8
parent9e28b86ecc38c70a6c32d720e3319be0147f19f1 (diff)
parent0ed308dfffcf110e4c053f9a56761d00af7ccdba (diff)
downloadcontexthub-63d65772a54b35fd0bba3e4c4f08e35f5087997d.tar.gz
contexthub-nano: Include headers for 4.4 kernels am: 2ad8a91c21 am: b8cb1a2a4c am: 0ed308dfff
Original change: https://android-review.googlesource.com/c/device/google/contexthub/+/2781288 Change-Id: Ice3a00a742a53f1288096f535a7b0e281a1b13d6 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>