v4l2: camera_proxy: Include <array>

Commit 29c5508075 ("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: 29c5508075 ("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>
This commit is contained in:
Laurent Pinchart 2020-01-08 00:27:02 +02:00
parent 29c5508075
commit eccbb17551

View file

@ -8,6 +8,7 @@
#include "v4l2_camera_proxy.h" #include "v4l2_camera_proxy.h"
#include <algorithm> #include <algorithm>
#include <array>
#include <errno.h> #include <errno.h>
#include <linux/drm_fourcc.h> #include <linux/drm_fourcc.h>
#include <linux/videodev2.h> #include <linux/videodev2.h>