[PATCH 12/19] libcamera: v4l2: Fix indirect include

Milan Zamazal mzamazal at redhat.com
Fri Aug 30 15:18:49 CEST 2024


Use the direct include of V4L2PixelFormat.

Signed-off-by: Milan Zamazal <mzamazal at redhat.com>
---
 src/v4l2/v4l2_camera_proxy.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/v4l2/v4l2_camera_proxy.cpp b/src/v4l2/v4l2_camera_proxy.cpp
index 56c557b5..2267b6ee 100644
--- a/src/v4l2/v4l2_camera_proxy.cpp
+++ b/src/v4l2/v4l2_camera_proxy.cpp
@@ -24,7 +24,7 @@
 #include <libcamera/camera.h>
 #include <libcamera/formats.h>
 
-#include "libcamera/internal/formats.h"
+#include "libcamera/internal/v4l2_pixelformat.h"
 
 #include "v4l2_camera.h"
 #include "v4l2_camera_file.h"
-- 
2.44.1



More information about the libcamera-devel mailing list