]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libstdc++: testsuite: Add missing <string> header
authorJonathan Wakely <jwakely@redhat.com>
Fri, 24 Jun 2022 14:13:12 +0000 (15:13 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Mon, 27 Jun 2022 10:08:17 +0000 (11:08 +0100)
libstdc++-v3/ChangeLog:

* testsuite/ext/mt_allocator/22309_thread.cc: Include <string>.

libstdc++-v3/testsuite/ext/mt_allocator/22309_thread.cc

index 2d94ea3a111039e7806b52f9d7a4b141d0232df7..99cbb0ffbb8374f8a658629c31b41b5175e89e65 100644 (file)
@@ -22,6 +22,7 @@
 #include <pthread.h>
 #include <cstdlib>
 #include <stdexcept>
+#include <string>
 
 void
 check_dlopen(void*& h)