summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2022-04-29 04:29:59 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2022-05-04 14:11:29 +0300
commite8f35e5f33597bb40a994df3eb836955e95d5095 (patch)
tree58cadf9ca7c6d8cb96edc53bf6185b94cb15b4b5 /include
parent37958dfd713dd00d4a71a78a6a45f8016ad82e65 (diff)
libcamera: geometry: Add missing ostream header in geometry.h
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@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'include')
-rw-r--r--include/libcamera/geometry.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libcamera/geometry.h b/include/libcamera/geometry.h
index d4a144bc..d7fdbe70 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>