From: Jonathan Wakely Date: Tue, 20 Sep 2022 23:46:04 +0000 (+0100) Subject: libstdc++: Add to ranges_base.h header X-Git-Tag: basepoints/gcc-14~4457 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=26cb69f8b4b9fb46444d164c8edcb73ac5fb2c47;p=thirdparty%2Fgcc.git libstdc++: Add to ranges_base.h header The header should be included explicitly to use std::initializer_list. With the upcoming changes to make available for freestanding this becomes an error, because is no longer provided by any of the other headers involved here. libstdc++-v3/ChangeLog: * include/bits/ranges_base.h: Include . --- diff --git a/libstdc++-v3/include/bits/ranges_base.h b/libstdc++-v3/include/bits/ranges_base.h index 866d7c56cbcd..805f196cc9f2 100644 --- a/libstdc++-v3/include/bits/ranges_base.h +++ b/libstdc++-v3/include/bits/ranges_base.h @@ -33,6 +33,7 @@ #pragma GCC system_header #if __cplusplus > 201703L +#include #include #include #include