libstdc++: Include <cstdint> in tests that use std::uintptr_t
authorJonathan Wakely <jwakely@redhat.com>
Tue, 27 Oct 2020 13:48:36 +0000 (13:48 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Tue, 27 Oct 2020 13:48:54 +0000 (13:48 +0000)
libstdc++-v3/ChangeLog:

* testsuite/experimental/memory_resource/new_delete_resource.cc:
Add missing <cstdint> header.
* testsuite/experimental/memory_resource/resource_adaptor.cc:
Likewise.

libstdc++-v3/testsuite/experimental/memory_resource/new_delete_resource.cc
libstdc++-v3/testsuite/experimental/memory_resource/resource_adaptor.cc

index 65a42da3f6a53caf22b0ec435025f29930e6b0a5..87c22ff4ae94d0946a20f8031e618016db2c3ecc 100644 (file)
@@ -20,6 +20,7 @@
 
 #include <experimental/memory_resource>
 #include <cstdlib>
+#include <cstdint>
 #include <testsuite_hooks.h>
 
 #if (defined __sun__ || defined __VXWORKS__) && defined __i386__
index d16d93768b93387a6a99c26d1415ee72ba9cf6f8..405ccf4624d06a7e5453d8fb5c7c456607962431 100644 (file)
@@ -19,6 +19,7 @@
 // <http://www.gnu.org/licenses/>.
 
 #include <experimental/memory_resource>
+#include <cstdint>
 #include <ext/debug_allocator.h>
 #include <ext/new_allocator.h>
 #include <ext/malloc_allocator.h>