From 330cd1c56007252932a100c741548b94131e09c6 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Fri, 14 Mar 2025 21:27:06 +0200 Subject: apps: cam: Fix include order Several .cpp files in the cam application don't include their corresponding header first, as usually done by libcamera to ensure that headers are self-contained. Reorder headers to fix it. This shows through a compilation error that file_sink.h is missing libcamera/controls.h, fix it as well. Signed-off-by: Laurent Pinchart Reviewed-by: Kieran Bingham Reviewed-by: Stefan Klug --- src/apps/cam/file_sink.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/apps/cam/file_sink.h') diff --git a/src/apps/cam/file_sink.h b/src/apps/cam/file_sink.h index 71b7fe0f..26cd61b3 100644 --- a/src/apps/cam/file_sink.h +++ b/src/apps/cam/file_sink.h @@ -11,6 +11,7 @@ #include #include +#include #include #include "frame_sink.h" -- cgit v1.2.1