From: Pierre-Emmanuel Patry Date: Wed, 6 Aug 2025 09:17:21 +0000 (+0200) Subject: gccrs: Add header guards X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb91a0a3fb72039bce6523b345cb39ebcca52a17;p=thirdparty%2Fgcc.git gccrs: Add header guards gcc/rust/ChangeLog: * util/rust-lang-item.h (RUST_LANG_ITEM_H): Add header guards. Signed-off-by: Pierre-Emmanuel Patry --- diff --git a/gcc/rust/util/rust-lang-item.h b/gcc/rust/util/rust-lang-item.h index 67a5d9c438f..7b9f498a565 100644 --- a/gcc/rust/util/rust-lang-item.h +++ b/gcc/rust/util/rust-lang-item.h @@ -21,6 +21,9 @@ #include "optional.h" #include "bi-map.h" +#ifndef RUST_LANG_ITEM_H +#define RUST_LANG_ITEM_H + namespace Rust { class LangItem @@ -185,3 +188,5 @@ template <> struct hash } }; } // namespace std + +#endif // RUST_LANG_ITEM_H