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

Jacopo Mondi jacopo at jmondi.org
Wed Jun 19 16:50:30 CEST 2019


Hi Laurent,
  this one in combination with the patch for formats.cpp I just sent
fixes my build errors on clang and libc++

Reviewed-by: Jacopo Mondi <jacopo at jmondi.org>

If you could review the other patch, we should then push them together

Thanks
  j

On Wed, Jun 19, 2019 at 05:41:58PM +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>
> ---
>  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
>
> _______________________________________________
> libcamera-devel mailing list
> libcamera-devel at lists.libcamera.org
> https://lists.libcamera.org/listinfo/libcamera-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.libcamera.org/pipermail/libcamera-devel/attachments/20190619/fb611344/attachment.sig>


More information about the libcamera-devel mailing list