[libcamera-devel] [PATCH 1/5] libcamera: geometry: Add missing ostream header in geometry.h
Laurent Pinchart
laurent.pinchart at ideasonboard.com
Fri Apr 29 23:23:44 CEST 2022
Commit c730dc74795d ("libcamera: geometry: Add operator<< for classes in
geometry") added usage of std::ostream in geometry.h but forget to
include the corresponding header. Fix it to avoid future compilation
breakages if indirect inclusions are changed.
Fixes: c730dc74795d ("libcamera: geometry: Add operator<< for classes in geometry")
Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
---
include/libcamera/geometry.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/libcamera/geometry.h b/include/libcamera/geometry.h
index d4a144bcd42a..d7fdbe708e6d 100644
--- a/include/libcamera/geometry.h
+++ b/include/libcamera/geometry.h
@@ -8,6 +8,7 @@
#pragma once
#include <algorithm>
+#include <ostream>
#include <string>
#include <libcamera/base/compiler.h>
--
Regards,
Laurent Pinchart
More information about the libcamera-devel
mailing list