summaryrefslogtreecommitdiffstats
path: root/libcxx/include/system_error
diff options
context:
space:
mode:
authorMarshall Clow <mclow.lists@gmail.com>2017-09-11 16:05:42 +0000
committerMarshall Clow <mclow.lists@gmail.com>2017-09-11 16:05:42 +0000
commitbc455478e10907c28270b4eb241d26c79595cfe8 (patch)
treed94622801f210cb1842b204c718ca826b3a0c8c4 /libcxx/include/system_error
parent4c2a3ec33bc1e2387eea497ca1047f65e4c35058 (diff)
downloadbcm5719-llvm-bc455478e10907c28270b4eb241d26c79595cfe8.tar.gz
bcm5719-llvm-bc455478e10907c28270b4eb241d26c79595cfe8.zip
Add include of <string> to <system_error>, since things in there return strings. Fixes PR#34529.
llvm-svn: 312923
Diffstat (limited to 'libcxx/include/system_error')
-rw-r--r--libcxx/include/system_error1
1 files changed, 1 insertions, 0 deletions
diff --git a/libcxx/include/system_error b/libcxx/include/system_error
index a29807db0d6..12745525f57 100644
--- a/libcxx/include/system_error
+++ b/libcxx/include/system_error
@@ -230,6 +230,7 @@ template <> struct hash<std::error_condition>;
#include <type_traits>
#include <stdexcept>
#include <__functional_base>
+#include <string>
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
#pragma GCC system_header
OpenPOWER on IntegriCloud