[libcamera-devel] [PATCH] android: camera_stream: Rectify internal header's #include path

Umang Jain umang.jain at ideasonboard.com
Thu Apr 29 12:57:41 CEST 2021


libcamera internal headers are not installed system-wide. Hence, any
inclusion of internal headers should be follow the #include directive
form:
	#include "libcamera/internal/header.h"

This was not the case with buffer.h internal header. Fix it.

Signed-off-by: Umang Jain <umang.jain at ideasonboard.com>
---
 src/android/camera_stream.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/android/camera_stream.h b/src/android/camera_stream.h
index f68fdd3a..34016722 100644
--- a/src/android/camera_stream.h
+++ b/src/android/camera_stream.h
@@ -19,7 +19,7 @@
 #include <libcamera/geometry.h>
 #include <libcamera/pixel_format.h>
 
-#include <libcamera/internal/buffer.h>
+#include "libcamera/internal/buffer.h"
 
 class CameraDevice;
 class CameraMetadata;
-- 
2.29.2



More information about the libcamera-devel mailing list