libcamera: stream: Include missing array header

The file uses the std::array class but doesn't include the corresponding
header. This breaks compilation with clang and libc++. Fix it.

Fixes: 63c578ed99 ("libcamera: stream: Add StreamFormats")
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
This commit is contained in:
Laurent Pinchart 2019-06-19 17:41:06 +03:00
parent e32d82e655
commit 329b38d254

View file

@ -8,6 +8,7 @@
#include <libcamera/stream.h>
#include <algorithm>
#include <array>
#include <climits>
#include <iomanip>
#include <sstream>