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

Madhavan Krishnan madhavan.krishnan at linaro.org
Fri Jan 31 10:32:20 CET 2020


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



More information about the libcamera-devel mailing list