From 329b38d2541c84e16b2cf2d8f6ad7af87eec2ecd Mon Sep 17 00:00:00 2001
From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Date: Wed, 19 Jun 2019 17:41:06 +0300
Subject: libcamera: stream: Include missing array header
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

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>
---
 src/libcamera/stream.cpp | 1 +
 1 file changed, 1 insertion(+)

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>
-- 
cgit v1.2.1