Add missing header for std::max_align_t

* include/experimental/memory_resource: Include <cstddef> header.

From-SVN: r262977
This commit is contained in:
Jonathan Wakely 2018-07-25 18:24:49 +01:00 committed by Jonathan Wakely
parent cf7fb52d95
commit 16d0ab7f44
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,7 @@
2018-07-25 Jonathan Wakely <jwakely@redhat.com>
* include/experimental/memory_resource: Include <cstddef> header.
* acinclude.m4 (glibcxx_SUBDIRS): Add src/c++17.
* src/Makefile.am: Add comment.
* src/c++17/Makefile.in: Regenerate.

View File

@ -32,7 +32,8 @@
#include <memory> // align, uses_allocator, __uses_alloc
#include <experimental/utility> // pair, experimental::erased_type
#include <atomic> // atomic
#include <new>
#include <new> // placement new
#include <cstddef> // max_align_t
#include <ext/new_allocator.h>
#include <debug/assertions.h>