[libcamera-devel] [PATCH v3] libcamera: pipeline_handler: Fix the compilation issue in musl

Kieran Bingham kieran.bingham at ideasonboard.com
Wed Feb 5 09:38:39 CET 2020


Hi Madhavan,

Thanks for your investigation and patch.

I've pushed this with a slightly updated commit message to master.
--
Kieran


On 31/01/2020 09:32, Madhavan Krishnan wrote:
> sys/sysmacros.h was an incorrect choice, which doesn't work with musl.
> 
> Fixes: effe4d6
> 
> Signed-off-by: Madhavan Krishnan <madhavan.krishnan at linaro.org>
> ---
>  src/libcamera/include/pipeline_handler.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/libcamera/include/pipeline_handler.h b/src/libcamera/include/pipeline_handler.h
> index a6c1e1f..97157dd 100644
> --- a/src/libcamera/include/pipeline_handler.h
> +++ b/src/libcamera/include/pipeline_handler.h
> @@ -12,7 +12,7 @@
>  #include <memory>
>  #include <set>
>  #include <string>
> -#include <sys/sysmacros.h>
> +#include <sys/types.h>
>  #include <vector>
>  
>  #include <ipa/ipa_interface.h>
> 

-- 
Regards
--
Kieran


More information about the libcamera-devel mailing list