summaryrefslogtreecommitdiff
path: root/src/v4l2/v4l2_compat.cpp
diff options
context:
space:
mode:
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;