[committed] libstdc++: Add missing <bits/stl_algobase.h> include to <bitset>

Message ID 20220930134620.106589-1-jwakely@redhat.com
State New, archived
Headers
Series [committed] libstdc++: Add missing <bits/stl_algobase.h> include to <bitset> |

Commit Message

Jonathan Wakely Sept. 30, 2022, 1:46 p.m. UTC
  From: Arsen Arsenović <arsen@aarsen.me>

Tested x86_64-linux. Pushed to trunk.

-- >8 --

libstdc++-v3/ChangeLog:

	* include/std/bitset: Include <bits/stl_algobase.h>.
---
 libstdc++-v3/include/std/bitset | 2 ++
 1 file changed, 2 insertions(+)
  

Patch

diff --git a/libstdc++-v3/include/std/bitset b/libstdc++-v3/include/std/bitset
index 1a551cf9785..3fe8b18735c 100644
--- a/libstdc++-v3/include/std/bitset
+++ b/libstdc++-v3/include/std/bitset
@@ -46,6 +46,8 @@ 
 
 #include <bits/functexcept.h>   // For invalid_argument, out_of_range,
                                 // overflow_error
+#include <bits/stl_algobase.h>  // For std::fill
+
 #if _GLIBCXX_HOSTED
 # include <string>
 # include <iosfwd>