Add missing includes to some headers.
Bug
Bug
MODIFY
thrust/mr/disjoint_pool.h
thrust/mr/disjoint_pool.h
#include <thrust/host_vector.h>
#include <thrust/binary_search.h>
+#include <thrust/detail/seq.h>
#include <thrust/mr/memory_resource.h>
#include <thrust/mr/allocator.h>

MODIFY
thrust/per_device_resource.h
thrust/per_device_resource.h
#include <thrust/system/detail/generic/per_device_resource.h>
#include <thrust/system/detail/adl/per_device_resource.h>
+#include <thrust/detail/execution_policy.h>
+#include <thrust/mr/allocator.h>
+
THRUST_BEGIN_NS
/*! Returns a global instance of \p MR for the current device of the provided system.

MODIFY
thrust/system/cpp/pointer.h
thrust/system/cpp/pointer.h
#include <thrust/detail/config.h>
#include <thrust/system/cpp/detail/execution_policy.h>
#include <thrust/detail/type_traits.h>
+#include <thrust/detail/pointer.h>
+#include <thrust/detail/reference.h>
namespace thrust
{

MODIFY
thrust/system/cuda/detail/per_device_resource.h
thrust/system/cuda/detail/per_device_resource.h
#include <thrust/system/cuda/config.h>
+#include <thrust/system/cuda/detail/util.h>
#include <thrust/system/cuda/detail/execution_policy.h>
#include <mutex>

MODIFY
thrust/system/cuda/pointer.h
thrust/system/cuda/pointer.h
#include <thrust/system/cuda/detail/execution_policy.h>
#include <thrust/detail/type_traits.h>
#include <thrust/detail/pointer.h>
+#include <thrust/detail/reference.h>
namespace thrust
{

MODIFY
thrust/system/detail/generic/per_device_resource.h
thrust/system/detail/generic/per_device_resource.h
#pragma once
#include <thrust/detail/config.h>
+#include <thrust/detail/execution_policy.h>
#include <thrust/system/detail/generic/tag.h>
#include <thrust/mr/memory_resource.h>

MODIFY
thrust/system/detail/generic/select_system.h
thrust/system/detail/generic/select_system.h
#include <thrust/detail/type_traits.h>
#include <thrust/iterator/detail/minimum_system.h>
#include <thrust/iterator/detail/device_system_tag.h>
+#include <thrust/iterator/detail/any_system_tag.h>
namespace thrust
{

MODIFY
thrust/system/omp/pointer.h
thrust/system/omp/pointer.h
#include <thrust/detail/config.h>
#include <thrust/system/omp/detail/execution_policy.h>
+#include <thrust/detail/type_traits.h>
+#include <thrust/detail/pointer.h>
+#include <thrust/detail/reference.h>
namespace thrust
{

MODIFY
thrust/system/tbb/pointer.h
thrust/system/tbb/pointer.h
#include <thrust/detail/config.h>
#include <thrust/system/tbb/detail/execution_policy.h>
#include <thrust/detail/type_traits.h>
+#include <thrust/detail/pointer.h>
+#include <thrust/detail/reference.h>
namespace thrust
{

MODIFY
thrust/type_traits/integer_sequence.h
thrust/type_traits/integer_sequence.h
#include <type_traits>
#include <cstdint>
+#include <utility>
THRUST_BEGIN_NS

Add missing includes to some headers.

Bug 2481378
Bug 200475391