diff options
author | Madhavan Krishnan <madhavan.krishnan@linaro.org> | 2020-01-31 10:32:20 +0100 |
---|---|---|
committer | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2020-02-04 15:54:07 +0000 |
commit | b448bfb426067a05d92a51f3ff123898a91ea643 (patch) | |
tree | 87ec23d3ea748cfc25ac13b7c8b9abd588841997 /test/libtest | |
parent | 1a6d0f5e9a46f7bd32af1a0b2667f14e7911f93d (diff) |
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 <madhavan.krishnan@linaro.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'test/libtest')
0 files changed, 0 insertions, 0 deletions