From 01079b6a9236bd467b445fafaff2659840789a85 Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Tue, 27 Oct 2020 13:48:36 +0000 Subject: [PATCH] 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. --- .../experimental/memory_resource/new_delete_resource.cc | 1 + .../testsuite/experimental/memory_resource/resource_adaptor.cc | 1 + 2 files changed, 2 insertions(+) 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 -- 2.30.2