[PATCH v3 10/18] libcamera: v4l2: Fix an include placement

Milan Zamazal mzamazal at redhat.com
Mon Sep 2 17:42:03 CEST 2024


Put the inclusion of geometry.h to the right place.

Signed-off-by: Milan Zamazal <mzamazal at redhat.com>
---
 src/libcamera/v4l2_subdevice.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/libcamera/v4l2_subdevice.cpp b/src/libcamera/v4l2_subdevice.cpp
index 6eaa8f01..9f2ec479 100644
--- a/src/libcamera/v4l2_subdevice.cpp
+++ b/src/libcamera/v4l2_subdevice.cpp
@@ -17,11 +17,11 @@
 #include <linux/media-bus-format.h>
 #include <linux/v4l2-subdev.h>
 
-#include <libcamera/geometry.h>
-
 #include <libcamera/base/log.h>
 #include <libcamera/base/utils.h>
 
+#include <libcamera/geometry.h>
+
 #include "libcamera/internal/formats.h"
 #include "libcamera/internal/media_device.h"
 #include "libcamera/internal/media_object.h"
-- 
2.44.1



More information about the libcamera-devel mailing list