summaryrefslogtreecommitdiff
path: root/src/v4l2/v4l2_compat.cpp
diff options
context:
space:
mode:
authorHirokazu Honda <hiroh@chromium.org>2021-12-01 16:53:42 +0900
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-12-01 13:46:48 +0200
commit7e91f951604c17a091b8c05efa1d01eddbcdfdbf (patch)
tree43c43696afc608bfd80caa166c775880499bae90 /src/v4l2/v4l2_compat.cpp
parentc17f172842d17b6036e10b1775e89d0219c3b3f9 (diff)
libcamera: Correct include headers for Mutex classes
Mutex classes are defined in mutex.h. This replaces thread.h include for the Mutex classes with mutex.h. Signed-off-by: Hirokazu Honda <hiroh@chromium.org> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Umang Jain <umang.jain@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/v4l2/v4l2_compat.cpp')
-rw-r--r--src/v4l2/v4l2_compat.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/v4l2/v4l2_compat.cpp b/src/v4l2/v4l2_compat.cpp
index fd73381d..1765fb5d 100644
--- a/src/v4l2/v4l2_compat.cpp
+++ b/src/v4l2/v4l2_compat.cpp
@@ -14,6 +14,8 @@
#include <sys/stat.h>
#include <sys/types.h>
+#include <libcamera/base/utils.h>
+
#define LIBCAMERA_PUBLIC __attribute__((visibility("default")))
using namespace libcamera;