aboutsummaryrefslogtreecommitdiff
path: root/libcxx/include/iostream
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2022-07-03 14:10:23 +0000
committerDimitry Andric <dim@FreeBSD.org>2022-07-03 14:10:23 +0000
commit145449b1e420787bb99721a429341fa6be3adfb6 (patch)
tree1d56ae694a6de602e348dd80165cf881a36600ed /libcxx/include/iostream
parentecbca9f5fb7d7613d2b94982c4825eb0d33d6842 (diff)
Diffstat (limited to 'libcxx/include/iostream')
-rw-r--r--libcxx/include/iostream7
1 files changed, 5 insertions, 2 deletions
diff --git a/libcxx/include/iostream b/libcxx/include/iostream
index 793f08ab1330..13d4ac3cadae 100644
--- a/libcxx/include/iostream
+++ b/libcxx/include/iostream
@@ -33,15 +33,18 @@ extern wostream wclog;
*/
+#include <__assert> // all public C++ headers provide the assertion handler
#include <__config>
+#include <version>
+
+// standard-mandated includes
#include <ios>
#include <istream>
#include <ostream>
#include <streambuf>
-#include <version>
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
-#pragma GCC system_header
+# pragma GCC system_header
#endif
_LIBCPP_BEGIN_NAMESPACE_STD