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

Madhavan Krishnan madhavan.krishnan at linaro.org
Thu Jan 30 17:45:17 CET 2020


sys/sysmacros.h was an incorrect choice, which doesn't work with musl.
This issue we faced from the following commit
commit effe4d6ced881486ef1d17448c7a53aa36ef41eb

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>
-- 
2.7.4



More information about the libcamera-devel mailing list