summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2019-06-19 17:41:06 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2019-06-19 17:51:12 +0300
commit329b38d2541c84e16b2cf2d8f6ad7af87eec2ecd (patch)
tree78a81521a0dd475d6f11fb433b7f177f1bce4150
parente32d82e65510fdc7d70093ca03e1feddb32e494c (diff)
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: 63c578ed9993 ("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>
-rw-r--r--src/libcamera/stream.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libcamera/stream.cpp b/src/libcamera/stream.cpp
index d60f8324..d8e87c62 100644
--- a/src/libcamera/stream.cpp
+++ b/src/libcamera/stream.cpp
@@ -8,6 +8,7 @@
#include <libcamera/stream.h>
#include <algorithm>
+#include <array>
#include <climits>
#include <iomanip>
#include <sstream>