summaryrefslogtreecommitdiff
path: root/src/v4l2
diff options
context:
space:
mode:
Diffstat (limited to 'src/v4l2')
-rw-r--r--src/v4l2/v4l2_camera.h2
-rw-r--r--src/v4l2/v4l2_compat.cpp2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/v4l2/v4l2_camera.h b/src/v4l2/v4l2_camera.h
index bf1b6de4..9307d61d 100644
--- a/src/v4l2/v4l2_camera.h
+++ b/src/v4l2/v4l2_camera.h
@@ -10,8 +10,8 @@
#include <deque>
#include <utility>
+#include <libcamera/base/mutex.h>
#include <libcamera/base/semaphore.h>
-#include <libcamera/base/thread.h>
#include <libcamera/camera.h>
#include <libcamera/file_descriptor.h>
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;