[libcamera-devel] [PATCH v3 2/2] test: bayer-format: Rectify internal header's #include path

Umang Jain umang.jain at ideasonboard.com
Fri Apr 30 06:39:57 CEST 2021


libcamera internal headers are not available system-wide. Hence,
directive `#include <libcamera/internal/header.h>` is wrong. Fix it
by using "" for the #include directive.

Fixes: e09c487b97f8 ("test: Add unit tests for the BayerFormat class")
Signed-off-by: Umang Jain <umang.jain at ideasonboard.com>
---
 test/bayer-format.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/test/bayer-format.cpp b/test/bayer-format.cpp
index 047e7db3..e396ee83 100644
--- a/test/bayer-format.cpp
+++ b/test/bayer-format.cpp
@@ -7,9 +7,10 @@
 
 #include <iostream>
 
-#include <libcamera/internal/bayer_format.h>
 #include <libcamera/transform.h>
 
+#include "libcamera/internal/bayer_format.h"
+
 #include "test.h"
 
 using namespace std;
-- 
2.29.2



More information about the libcamera-devel mailing list