[v3,16/18] libcamera: includes: Add missing includes
diff mbox series

Message ID 20240902154212.1281257-17-mzamazal@redhat.com
State Accepted
Headers show
Series
  • Remove unused includes
Related show

Commit Message

Milan Zamazal Sept. 2, 2024, 3:42 p.m. UTC
Let's add direct includes for classes currently included indirectly,
through other header files.

Signed-off-by: Milan Zamazal <mzamazal@redhat.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
---
 include/libcamera/internal/request.h | 1 +
 include/libcamera/logging.h          | 2 ++
 2 files changed, 3 insertions(+)

Patch
diff mbox series

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 {