summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Cherry <tomcherry@google.com>2020-04-13 11:05:20 -0700
committerTom Cherry <tomcherry@google.com>2020-04-13 11:09:42 -0700
commit10256e3ad83809096e0608380154257138ce9d22 (patch)
treed9313b8c7cf431105b644d5f415174fa644bffe4
parentee8c09c78f63bb35322bf1e3aa3814fc5d7036e5 (diff)
downloadplatform_hardware_interfaces-10256e3ad83809096e0608380154257138ce9d22.tar.gz
platform_hardware_interfaces-10256e3ad83809096e0608380154257138ce9d22.tar.bz2
platform_hardware_interfaces-10256e3ad83809096e0608380154257138ce9d22.zip
Include what you use: <fcntl.h>
This was transitively included, but no longer is, so it must be explicitly included. Exempt-From-Owner-Approval: Janitorial Test: build Change-Id: I48d318c53cbfb76849f987029b0c8e775f576496
-rw-r--r--camera/device/1.0/default/CameraDevice.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/camera/device/1.0/default/CameraDevice.cpp b/camera/device/1.0/default/CameraDevice.cpp
index 2dd6094a53..80733d1908 100644
--- a/camera/device/1.0/default/CameraDevice.cpp
+++ b/camera/device/1.0/default/CameraDevice.cpp
@@ -15,6 +15,9 @@
*/
#define LOG_TAG "CamDev@1.0-impl"
+
+#include <fcntl.h>
+
#include <hardware/camera.h>
#include <hardware/gralloc1.h>
#include <hidlmemory/mapping.h>