From f11429cc4b58c66f8f9ac523f073c7b72c7187fb Mon Sep 17 00:00:00 2001 From: Pierre-Emmanuel Patry Date: Tue, 5 Aug 2025 11:43:25 +0200 Subject: [PATCH] gccrs: Add missing header inclusion Header relied on transitive header inclusion. gcc/rust/ChangeLog: * ast/rust-ast-formatting.h (RUST_AST_FORMATTING_H): Include required headers directly. Signed-off-by: Pierre-Emmanuel Patry --- gcc/rust/ast/rust-ast-formatting.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gcc/rust/ast/rust-ast-formatting.h b/gcc/rust/ast/rust-ast-formatting.h index aace93f7fae..075c51cfb07 100644 --- a/gcc/rust/ast/rust-ast-formatting.h +++ b/gcc/rust/ast/rust-ast-formatting.h @@ -19,6 +19,9 @@ #ifndef RUST_AST_FORMATTING_H #define RUST_AST_FORMATTING_H +#include "rust-ast.h" +#include "rust-system.h" + namespace Rust { namespace AST { -- 2.47.3