libstdc++: Include <cstdint> in tests that use std::uintptr_t

libstdc++-v3/ChangeLog:

	* testsuite/experimental/memory_resource/new_delete_resource.cc:
	Add missing <cstdint> header.
	* testsuite/experimental/memory_resource/resource_adaptor.cc:
	Likewise.
This commit is contained in:
Jonathan Wakely 2020-10-27 13:48:36 +00:00
parent 9e78634c74
commit 01079b6a92
2 changed files with 2 additions and 0 deletions

View File

@ -20,6 +20,7 @@
#include <experimental/memory_resource>
#include <cstdlib>
#include <cstdint>
#include <testsuite_hooks.h>
#if (defined __sun__ || defined __VXWORKS__) && defined __i386__

View 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>