[libcamera-devel] [PATCH] libcamera: Fix compilation issue in musl environment

Peter Griffin peter.griffin at linaro.org
Wed Jan 29 22:37:40 CET 2020


Hi Madhavan,

The patch is missing your Signed off by (need to use -s with
git commit command).

Peter.

On Wed, 29 Jan 2020 at 11:16, Madhavan Krishnan <
madhavan.krishnan at linaro.org> wrote:

> From: Madhavan Krishnan <madhavan.krishnan at linaro.org>
>
> New argument dev_t devnum has been added in the registerCamera()
> api and we are facing compilation issue in the musl environment
> since dev_t is not declared, we addded sys/stat.h header file
> ---
>  src/libcamera/include/pipeline_handler.h | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/src/libcamera/include/pipeline_handler.h
> b/src/libcamera/include/pipeline_handler.h
> index a6c1e1f..c5f84aa 100644
> --- a/src/libcamera/include/pipeline_handler.h
> +++ b/src/libcamera/include/pipeline_handler.h
> @@ -12,6 +12,7 @@
>  #include <memory>
>  #include <set>
>  #include <string>
> +#include <sys/stat.h>
>  #include <sys/sysmacros.h>
>  #include <vector>
>
> --
> 2.7.4
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.libcamera.org/pipermail/libcamera-devel/attachments/20200129/59850c50/attachment-0001.htm>


More information about the libcamera-devel mailing list