Tested powerpc64le-linux, pushed to trunk.

-- >8 --

This is needed for std::nothrow and the nothrow operator new overload,
so should be included explicitly.

libstdc++-v3/ChangeLog:

        * include/bits/stl_tempbuf.h: Include <new>.
---
 libstdc++-v3/include/bits/stl_tempbuf.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libstdc++-v3/include/bits/stl_tempbuf.h 
b/libstdc++-v3/include/bits/stl_tempbuf.h
index db7cdb14ca9..82f2dc8055f 100644
--- a/libstdc++-v3/include/bits/stl_tempbuf.h
+++ b/libstdc++-v3/include/bits/stl_tempbuf.h
@@ -56,6 +56,7 @@
 #ifndef _STL_TEMPBUF_H
 #define _STL_TEMPBUF_H 1
 
+#include <new>
 #include <bits/stl_algobase.h>
 #include <bits/stl_construct.h>
 
-- 
2.37.3

Reply via email to