https://gcc.gnu.org/g:c06311303bb61ce530f6eb05c6e838bffe2a6ae4
commit r12-10427-gc06311303bb61ce530f6eb05c6e838bffe2a6ae4 Author: Matthias Kretz <m.kr...@gsi.de> Date: Wed Apr 17 10:12:42 2024 +0200 libstdc++: Add include guard to simd-internal header Signed-off-by: Matthias Kretz <m.kr...@gsi.de> libstdc++-v3/ChangeLog: * include/experimental/bits/numeric_traits.h: Add include guard. (cherry picked from commit 3cfe94ad28102618c14a91c0a83d9e5cc7df69d7) Diff: --- libstdc++-v3/include/experimental/bits/numeric_traits.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libstdc++-v3/include/experimental/bits/numeric_traits.h b/libstdc++-v3/include/experimental/bits/numeric_traits.h index 84e97da7d6b3..85f189e276f9 100644 --- a/libstdc++-v3/include/experimental/bits/numeric_traits.h +++ b/libstdc++-v3/include/experimental/bits/numeric_traits.h @@ -22,6 +22,9 @@ // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // <http://www.gnu.org/licenses/>. +#ifndef _GLIBCXX_EXPERIMENTAL_BITS_NUMERIC_TRAITS_H +#define _GLIBCXX_EXPERIMENTAL_BITS_NUMERIC_TRAITS_H + #include <type_traits> namespace std { @@ -565,3 +568,4 @@ template <> #endif // __FINITE_MATH_ONLY__ } // namespace std +#endif // _GLIBCXX_EXPERIMENTAL_BITS_NUMERIC_TRAITS_H