From: Thomas Rodgers Date: Fri, 11 Sep 2020 20:51:07 +0000 (-0700) Subject: libstdc++: only pull in bits/align.h if C++11 or later X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=64064678d6cb48fdc7e039fde15d471960d496d3;p=gcc.git libstdc++: only pull in bits/align.h if C++11 or later libstdc++-v3/ChangeLog: * include/std/memory: Move #include inside C++11 conditional includes. --- diff --git a/libstdc++-v3/include/std/memory b/libstdc++-v3/include/std/memory index a56952fb114..aee7b050bd7 100644 --- a/libstdc++-v3/include/std/memory +++ b/libstdc++-v3/include/std/memory @@ -61,7 +61,6 @@ */ #include -#include #include #include #include @@ -75,6 +74,7 @@ # include // std::basic_ostream # include # include +# include # include # include // std::less # include