]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
gccrs: Add missing header inclusion
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Tue, 5 Aug 2025 09:43:25 +0000 (11:43 +0200)
committerArthur Cohen <arthur.cohen@embecosm.com>
Thu, 30 Oct 2025 19:58:34 +0000 (20:58 +0100)
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 <pierre-emmanuel.patry@embecosm.com>
gcc/rust/ast/rust-ast-formatting.h

index aace93f7fae8a7d9925e76e9121ecc665f17a4c1..075c51cfb070986b02286b0248fd824672f8f417 100644 (file)
@@ -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 {