From 8d3ed915652fb170a12c24dfb283b804611adc8e Mon Sep 17 00:00:00 2001 From: Arthur Cohen Date: Tue, 4 Oct 2022 18:10:26 +0200 Subject: ast: Remove system include --- gcc/rust/ast/rust-ast-full-test.cc | 6 +----- gcc/rust/ast/rust-macro.h | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) (limited to 'gcc/rust/ast') diff --git a/gcc/rust/ast/rust-ast-full-test.cc b/gcc/rust/ast/rust-ast-full-test.cc index cac816d..1e8a93d 100644 --- a/gcc/rust/ast/rust-ast-full-test.cc +++ b/gcc/rust/ast/rust-ast-full-test.cc @@ -17,11 +17,7 @@ You should have received a copy of the GNU General Public License along with GCC; see the file COPYING3. If not see . */ -// FIXME: This does not work on Windows -#include -#include -#include - +#include "rust-system.h" #include "rust-ast-full.h" #include "rust-diagnostics.h" #include "rust-ast-visitor.h" diff --git a/gcc/rust/ast/rust-macro.h b/gcc/rust/ast/rust-macro.h index a02c216..fe95ce1 100644 --- a/gcc/rust/ast/rust-macro.h +++ b/gcc/rust/ast/rust-macro.h @@ -19,10 +19,10 @@ #ifndef RUST_AST_MACRO_H #define RUST_AST_MACRO_H +#include "rust-system.h" #include "rust-ast.h" #include "rust-ast-fragment.h" #include "rust-location.h" -#include namespace Rust { namespace AST { -- cgit v1.1