aboutsummaryrefslogtreecommitdiff
path: root/libcxx/include/codecvt
diff options
context:
space:
mode:
authorMark de Wever <koraq@xs4all.nl>2021-12-22 18:14:14 +0100
committerMark de Wever <koraq@xs4all.nl>2022-01-04 19:50:59 +0100
commitbd6e6846e7f431e9d84b1f257d4a0c8ddeac4fe2 (patch)
tree04613e49708d43d81e19459ce1263a52fcaa6e38 /libcxx/include/codecvt
parent3064dd8ccffc561e0f01cfa930b9a481d90e7f4f (diff)
downloadllvm-bd6e6846e7f431e9d84b1f257d4a0c8ddeac4fe2.zip
llvm-bd6e6846e7f431e9d84b1f257d4a0c8ddeac4fe2.tar.gz
llvm-bd6e6846e7f431e9d84b1f257d4a0c8ddeac4fe2.tar.bz2
[libc++] Add the version header to all headers.
Some headers which require the version header depend on other headers to provide it. Include the version header in all top-level headers to make sure a header cleanup can't remove the version header. Note this doesn't add the version header to the c headers. Reviewed By: #libc, Quuxplusone, ldionne Differential Revision: https://reviews.llvm.org/D116172
Diffstat (limited to 'libcxx/include/codecvt')
-rw-r--r--libcxx/include/codecvt1
1 files changed, 1 insertions, 0 deletions
diff --git a/libcxx/include/codecvt b/libcxx/include/codecvt
index 60d3db8..74839d1 100644
--- a/libcxx/include/codecvt
+++ b/libcxx/include/codecvt
@@ -56,6 +56,7 @@ class codecvt_utf8_utf16
#include <__config>
#include <__locale>
+#include <version>
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
#pragma GCC system_header