diff mbox series

[committed] libstdc++: Add missing header to <bits/ranges_algobase.h> for std::__memcmp

Message ID 20240607185259.416673-1-jwakely@redhat.com
State New
Headers show
Series [committed] libstdc++: Add missing header to <bits/ranges_algobase.h> for std::__memcmp | expand

Commit Message

Jonathan Wakely June 7, 2024, 6:52 p.m. UTC
Tested x86_64-linux. Pushed to trunk.

-- >8 --

As noticed by Michael Levine.

libstdc++-v3/ChangeLog:

	* include/bits/ranges_algobase.h: Include <bits/stl_algobase.h>.
---
 libstdc++-v3/include/bits/ranges_algobase.h | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/libstdc++-v3/include/bits/ranges_algobase.h b/libstdc++-v3/include/bits/ranges_algobase.h
index e26a73a27d6..e1f00838818 100644
--- a/libstdc++-v3/include/bits/ranges_algobase.h
+++ b/libstdc++-v3/include/bits/ranges_algobase.h
@@ -38,6 +38,7 @@ 
 #include <bits/ranges_base.h> // ranges::begin, ranges::range etc.
 #include <bits/invoke.h>      // __invoke
 #include <bits/cpp_type_traits.h> // __is_byte
+#include <bits/stl_algobase.h> // __memcmp
 
 #if __cpp_lib_concepts
 namespace std _GLIBCXX_VISIBILITY(default)