[PATCH 17/19] libcamera: includes: Add missing includes

Milan Zamazal mzamazal at redhat.com
Fri Aug 30 15:18:54 CEST 2024


Let's add direct includes for classes currently included indirectly,
through other header files.

Signed-off-by: Milan Zamazal <mzamazal at redhat.com>
---
 include/libcamera/internal/request.h | 1 +
 include/libcamera/logging.h          | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/include/libcamera/internal/request.h b/include/libcamera/internal/request.h
index f5d98069..4e7d05b1 100644
--- a/include/libcamera/internal/request.h
+++ b/include/libcamera/internal/request.h
@@ -10,6 +10,7 @@
 #include <chrono>
 #include <map>
 #include <memory>
+#include <unordered_set>
 
 #include <libcamera/base/event_notifier.h>
 #include <libcamera/base/timer.h>
diff --git a/include/libcamera/logging.h b/include/libcamera/logging.h
index e334d87b..e1c6341c 100644
--- a/include/libcamera/logging.h
+++ b/include/libcamera/logging.h
@@ -7,6 +7,8 @@
 
 #pragma once
 
+#include <ostream>
+
 namespace libcamera {
 
 enum LoggingTarget {
-- 
2.44.1



More information about the libcamera-devel mailing list