From: https://github.com/boostorg/range/commit/1d124e8869a9eb17a235f33d8a7a9f203d09d44b
Patch paths adapted for boost distribution.
Bug: https://bugs.gentoo.org/955526

From 9ac89e9936b826c13e90611cb9a81a7aa0508d20 Mon Sep 17 00:00:00 2001
From: Michael Cho <michael@michaelcho.dev>
Date: Sun, 30 Mar 2025 21:45:49 -0400
Subject: [PATCH] Add include for add_const

Signed-off-by: Michael Cho <michael@michaelcho.dev>
---
 include/boost/range/detail/any_iterator_interface.hpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/boost/range/detail/any_iterator_interface.hpp b/include/boost/range/detail/any_iterator_interface.hpp
index 1103be6c..79e71dbd 100644
--- a/boost/range/detail/any_iterator_interface.hpp
+++ b/boost/range/detail/any_iterator_interface.hpp
@@ -13,6 +13,7 @@
 #include <boost/mpl/if.hpp>
 #include <boost/range/detail/any_iterator_buffer.hpp>
 #include <boost/iterator/iterator_categories.hpp>
+#include <boost/type_traits/add_const.hpp>
 #include <boost/type_traits/is_convertible.hpp>
 #include <boost/type_traits/is_reference.hpp>
 #include <boost/type_traits/remove_const.hpp>