https://gcc.gnu.org/g:ef919c8c6d5fe65c56279261c08f9033c4b449cd
commit r11-11432-gef919c8c6d5fe65c56279261c08f9033c4b449cd 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 0a1c711a559b..fd6ad761fb3d 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