From: Jonathan Wakely Date: Tue, 27 Oct 2020 13:48:36 +0000 (+0000) Subject: libstdc++: Include in tests that use std::uintptr_t X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=01079b6a9236bd467b445fafaff2659840789a85;p=gcc.git libstdc++: Include in tests that use std::uintptr_t libstdc++-v3/ChangeLog: * testsuite/experimental/memory_resource/new_delete_resource.cc: Add missing header. * testsuite/experimental/memory_resource/resource_adaptor.cc: Likewise. --- diff --git a/libstdc++-v3/testsuite/experimental/memory_resource/new_delete_resource.cc b/libstdc++-v3/testsuite/experimental/memory_resource/new_delete_resource.cc index 65a42da3f6a..87c22ff4ae9 100644 --- a/libstdc++-v3/testsuite/experimental/memory_resource/new_delete_resource.cc +++ b/libstdc++-v3/testsuite/experimental/memory_resource/new_delete_resource.cc @@ -20,6 +20,7 @@ #include #include +#include #include #if (defined __sun__ || defined __VXWORKS__) && defined __i386__ diff --git a/libstdc++-v3/testsuite/experimental/memory_resource/resource_adaptor.cc b/libstdc++-v3/testsuite/experimental/memory_resource/resource_adaptor.cc index d16d93768b9..405ccf4624d 100644 --- a/libstdc++-v3/testsuite/experimental/memory_resource/resource_adaptor.cc +++ b/libstdc++-v3/testsuite/experimental/memory_resource/resource_adaptor.cc @@ -19,6 +19,7 @@ // . #include +#include #include #include #include