aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/cxxsupp/libcxxmsvc/.yandex_meta/patches/03-missed-include.patch
blob: 4510d4b0af2867036011e784e02926574db9c012 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
diff --git a/include/__bit/bit_cast.h b/include/__bit/bit_cast.h
index fbb70b3..fc29a74 100644
--- a/include/__bit/bit_cast.h
+++ b/include/__bit/bit_cast.h
@@ -11,6 +11,7 @@
 #define _LIBCPP___BIT_BIT_CAST_H
 
 #include <__config>
+#include <cstring>
 #include <type_traits>
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
diff --git a/include/__locale b/include/__locale
index ad97be0..514cb4a 100644
--- a/include/__locale
+++ b/include/__locale
@@ -12,6 +12,7 @@
 
 #include <__availability>
 #include <__config>
+#include <atomic>
 #include <cctype>
 #include <cstdint>
 #include <locale.h>
diff --git a/include/__memory/unique_ptr.h b/include/__memory/unique_ptr.h
index 348c903..e9d4189 100644
--- a/include/__memory/unique_ptr.h
+++ b/include/__memory/unique_ptr.h
@@ -18,6 +18,7 @@
 #include <__utility/forward.h>
 #include <__utility/move.h>
 #include <cstddef>
+#include <stlfwd>
 #include <type_traits>
 
 #if _LIBCPP_STD_VER <= 14 || defined(_LIBCPP_ENABLE_CXX17_REMOVED_AUTO_PTR)
diff --git a/include/__random/log2.h b/include/__random/log2.h
index b077d21..f4f8377 100644
--- a/include/__random/log2.h
+++ b/include/__random/log2.h
@@ -11,6 +11,7 @@
 
 #include <__config>
 #include <cstddef>
+#include <limits>
 #include <type_traits>
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
diff --git a/include/memory b/include/memory
index 3bc31d2..088cf21 100644
--- a/include/memory
+++ b/include/memory
@@ -830,6 +830,7 @@ void* align(size_t alignment, size_t size, void*& ptr, size_t& space);
 #include <iterator>
 #include <new>
 #include <stdexcept>
+#include <stlfwd>
 #include <tuple>
 #include <type_traits>
 #include <typeinfo>
diff --git a/include/type_traits b/include/type_traits
index 54df709..86bc5fa 100644
--- a/include/type_traits
+++ b/include/type_traits
@@ -419,6 +419,7 @@ namespace std
 #include <__config>
 #include <cstddef>
 #include <version>
+#include <__utility/declval.h>
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
diff --git a/src/support/runtime/exception_fallback.ipp b/src/support/runtime/exception_fallback.ipp
index 100ee6d..ebdca7e 100644
--- a/src/support/runtime/exception_fallback.ipp
+++ b/src/support/runtime/exception_fallback.ipp
@@ -8,6 +8,7 @@
 //===----------------------------------------------------------------------===//
 
 #include <cstdio>
+#include "../../include/atomic_support.h"
 
 namespace std {