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

Message ID 1580402717-28724-1-git-send-email-madhavan.krishnan@linaro.org
State Superseded
Headers show
Series
  • [libcamera-devel,v2] libcamera: pipeline_handler: Fix the compilation issue in musl
Related show

Commit Message

Madhavan Krishnan Jan. 30, 2020, 4:45 p.m. UTC
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@linaro.org>
---
 src/libcamera/include/pipeline_handler.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

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>