[libcamera-devel] [PATCH] libcamera: stream: Include missing array header

Niklas Söderlund niklas.soderlund at ragnatech.se
Wed Jun 19 16:50:19 CEST 2019


Hi Laurent,

Thanks for catching this. It's my fault to begin with, sorry about that.

On 2019-06-19 17:41:58 +0300, Laurent Pinchart wrote:
> The file uses the std::array class but doesn't include the corresponding
> header. This breaks compilation with clang and libc++. Fix it.
> 
> Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>

Reviewed-by: Niklas Söderlund <niklas.soderlund at 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 d60f83246e13..d8e87c62281c 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>
> -- 
> Regards,
> 
> Laurent Pinchart
> 

-- 
Regards,
Niklas Söderlund


More information about the libcamera-devel mailing list