[libcamera-devel] [PATCH] libcamera: Fix compilation issue in musl environment
Madhavan Krishnan
madhavan.krishnan at linaro.org
Wed Jan 29 12:16:27 CET 2020
From: Madhavan Krishnan <madhavan.krishnan at linaro.org>
New argument dev_t devnum has been added in the registerCamera()
api and we are facing compilation issue in the musl environment
since dev_t is not declared, we addded sys/stat.h header file
---
src/libcamera/include/pipeline_handler.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/libcamera/include/pipeline_handler.h b/src/libcamera/include/pipeline_handler.h
index a6c1e1f..c5f84aa 100644
--- a/src/libcamera/include/pipeline_handler.h
+++ b/src/libcamera/include/pipeline_handler.h
@@ -12,6 +12,7 @@
#include <memory>
#include <set>
#include <string>
+#include <sys/stat.h>
#include <sys/sysmacros.h>
#include <vector>
--
2.7.4
More information about the libcamera-devel
mailing list