From b448bfb426067a05d92a51f3ff123898a91ea643 Mon Sep 17 00:00:00 2001 From: Madhavan Krishnan Date: Fri, 31 Jan 2020 10:32:20 +0100 Subject: libcamera: pipeline_handler: Fix the compilation issue in musl sys/sysmacros.h was an incorrect choice, which doesn't work with musl. POSIX mandates dev_t to be defined by sys/types.h, so utilise that header instead. Fixes: effe4d6ced88 ("libcamera: camera_manager, pipeline_handler: allow retrieving cameras by device numbers") Signed-off-by: Madhavan Krishnan Reviewed-by: Laurent Pinchart Signed-off-by: Kieran Bingham --- 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 a6c1e1fb..97157dd7 100644 --- a/src/libcamera/include/pipeline_handler.h +++ b/src/libcamera/include/pipeline_handler.h @@ -12,7 +12,7 @@ #include #include #include -#include +#include #include #include -- cgit v1.2.1