From: Pierre-Emmanuel Patry <[email protected]>
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 <[email protected]>
---
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.50.1