From 26cb69f8b4b9fb46444d164c8edcb73ac5fb2c47 Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Wed, 21 Sep 2022 00:46:04 +0100 Subject: [PATCH] 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 . --- libstdc++-v3/include/bits/ranges_base.h | 1 + 1 file changed, 1 insertion(+) 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 -- 2.47.2