From ac02d741dceb081d1166b78e13f180a3a375579d Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Mon, 23 Mar 2020 01:27:33 +0200 Subject: qcam: Ensure headers are self-contained Include the headers corresponding to each compile unit at the very first line to ensure they are self-contained. Signed-off-by: Laurent Pinchart Reviewed-by: Kieran Bingham --- src/qcam/main_window.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/qcam/main_window.cpp') diff --git a/src/qcam/main_window.cpp b/src/qcam/main_window.cpp index 6f4f1cd7..66aaf40c 100644 --- a/src/qcam/main_window.cpp +++ b/src/qcam/main_window.cpp @@ -5,6 +5,8 @@ * main_window.cpp - qcam - Main application window */ +#include "main_window.h" + #include #include #include @@ -25,7 +27,6 @@ #include #include -#include "main_window.h" #include "viewfinder.h" using namespace libcamera; -- cgit v1.2.1