diff options
author | Arthur Cohen <arthur.cohen@embecosm.com> | 2022-10-04 18:10:26 +0200 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2022-10-27 12:15:11 +0200 |
commit | 8d3ed915652fb170a12c24dfb283b804611adc8e (patch) | |
tree | 1f4a6631c8b61942e74cd3214ce1c3b7364d0a83 /gcc | |
parent | d8a8061f2e884aa2aa31d746c4cc104083bbbbb6 (diff) | |
download | gcc-8d3ed915652fb170a12c24dfb283b804611adc8e.zip gcc-8d3ed915652fb170a12c24dfb283b804611adc8e.tar.gz gcc-8d3ed915652fb170a12c24dfb283b804611adc8e.tar.bz2 |
ast: Remove system include
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/rust/ast/rust-ast-full-test.cc | 6 | ||||
-rw-r--r-- | gcc/rust/ast/rust-macro.h | 2 |
2 files changed, 2 insertions, 6 deletions
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 <http://www.gnu.org/licenses/>. */ -// FIXME: This does not work on Windows -#include <string> -#include <unistd.h> -#include <memory> - +#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 <string> namespace Rust { namespace AST { |