[NFC][libc++] Moves transitive includes location.
As discussed in D132284 they will be moved to the end.
Reviewed By: #libc, Mordante
Differential Revision: https://reviews.llvm.org/D133212
NOKEYCHECK=True
GitOrigin-RevId: e31c2a1b1a643861f25ba0145cb4701c999fc6c2
diff --git a/include/numeric b/include/numeric
index ba030aa..64cd45b 100644
--- a/include/numeric
+++ b/include/numeric
@@ -163,11 +163,6 @@
#include <__numeric/transform_inclusive_scan.h>
#include <__numeric/transform_reduce.h>
-#if !defined(_LIBCPP_REMOVE_TRANSITIVE_INCLUDES) && _LIBCPP_STD_VER <= 20
-# include <functional>
-# include <iterator>
-#endif
-
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
# pragma GCC system_header
#endif
@@ -176,4 +171,9 @@
# include <__pstl_numeric>
#endif
+#if !defined(_LIBCPP_REMOVE_TRANSITIVE_INCLUDES) && _LIBCPP_STD_VER <= 20
+# include <functional>
+# include <iterator>
+#endif
+
#endif // _LIBCPP_NUMERIC