diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-01-08 00:27:02 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-01-08 06:20:58 +0200 |
commit | eccbb175516670f13c6a4f8f9e4ed8bc1228938c (patch) | |
tree | 5f695b40f22e60177ebf2a0db27c6731bd431838 /src/v4l2/v4l2_camera_proxy.cpp | |
parent | 29c5508075c1e7df2eefd59190c7cd11815f362a (diff) |
v4l2: camera_proxy: Include <array>
Commit 29c5508075c1 ("v4l2: camera_proxy: Create format info array")
introduced usage of the std::array template class, but didn't include
the corresponding header. This may cause a compilation breakage in the
future if the indirect include of <array> disappears due to unrelated
changes. Fix it.
Fixed: 29c5508075c1 ("v4l2: camera_proxy: Create format info array")
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Diffstat (limited to 'src/v4l2/v4l2_camera_proxy.cpp')
-rw-r--r-- | src/v4l2/v4l2_camera_proxy.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/v4l2/v4l2_camera_proxy.cpp b/src/v4l2/v4l2_camera_proxy.cpp index bdd4a6c3..8d1b40da 100644 --- a/src/v4l2/v4l2_camera_proxy.cpp +++ b/src/v4l2/v4l2_camera_proxy.cpp @@ -8,6 +8,7 @@ #include "v4l2_camera_proxy.h" #include <algorithm> +#include <array> #include <errno.h> #include <linux/drm_fourcc.h> #include <linux/videodev2.h> |