diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-03-23 01:27:33 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-03-24 10:33:41 +0200 |
commit | ac02d741dceb081d1166b78e13f180a3a375579d (patch) | |
tree | 857078abbeef85b352dfd0d0901f3fd8214fad0a /src/qcam/format_converter.cpp | |
parent | 01590c3f780598572b3a18decefed55ae8e51059 (diff) |
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>
Diffstat (limited to 'src/qcam/format_converter.cpp')
-rw-r--r-- | src/qcam/format_converter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qcam/format_converter.cpp b/src/qcam/format_converter.cpp index 483f7c1e..d8962a28 100644 --- a/src/qcam/format_converter.cpp +++ b/src/qcam/format_converter.cpp @@ -5,12 +5,12 @@ * format_convert.cpp - qcam - Convert buffer to RGB */ +#include "format_converter.h" + #include <errno.h> #include <QImage> -#include "format_converter.h" - #define RGBSHIFT 8 #ifndef MAX #define MAX(a,b) ((a)>(b)?(a):(b)) |