From 465a81b7502d3489325a17564b74ae4671290108 Mon Sep 17 00:00:00 2001 From: Nikolas Klauser Date: Wed, 13 Nov 2024 11:00:01 +0100 Subject: [PATCH] [libc++] Avoid including in and --- libcxx/include/fstream | 2 +- libcxx/include/strstream | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libcxx/include/fstream b/libcxx/include/fstream index e3b9abbbdcf056..6913b70fc2444b 100644 --- a/libcxx/include/fstream +++ b/libcxx/include/fstream @@ -193,6 +193,7 @@ typedef basic_fstream wfstream; #include <__fwd/fstream.h> #include <__locale> #include <__memory/addressof.h> +#include <__ostream/basic_ostream.h> #include <__type_traits/enable_if.h> #include <__type_traits/is_same.h> #include <__utility/move.h> @@ -200,7 +201,6 @@ typedef basic_fstream wfstream; #include <__utility/unreachable.h> #include #include -#include #include #include diff --git a/libcxx/include/strstream b/libcxx/include/strstream index 9ff4024a7c7e21..11f36719b3ac03 100644 --- a/libcxx/include/strstream +++ b/libcxx/include/strstream @@ -130,8 +130,8 @@ private: */ #include <__config> +#include <__ostream/basic_ostream.h> #include -#include #include #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)