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 <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
@@ -5,6 +5,8 @@
|
||||
* main_window.cpp - qcam - Main application window
|
||||
*/
|
||||
|
||||
#include "main_window.h"
|
||||
|
||||
#include <iomanip>
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
@@ -25,7 +27,6 @@
|
||||
#include <libcamera/camera_manager.h>
|
||||
#include <libcamera/version.h>
|
||||
|
||||
#include "main_window.h"
|
||||
#include "viewfinder.h"
|
||||
|
||||
using namespace libcamera;
|
||||
|
||||
Reference in New Issue
Block a user