From c55cd0e10c00d66cf159fc8f3f309186e1a576d1 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Mon, 18 Jan 2021 15:17:50 +0100 Subject: Fix '#include ' GCC doesn't like that: In file included from [...] ./mm_malloc.h:42:12: error: attempt to use poisoned "malloc" return malloc (__size); ^ See commit e7b3f654f2ab0400c95c0517387a9ad645a5c4cd, for example. --- gcc/rust/parse/rust-parse.cc | 2 -- 1 file changed, 2 deletions(-) (limited to 'gcc/rust/parse/rust-parse.cc') diff --git a/gcc/rust/parse/rust-parse.cc b/gcc/rust/parse/rust-parse.cc index 62076ee..fdad97c 100644 --- a/gcc/rust/parse/rust-parse.cc +++ b/gcc/rust/parse/rust-parse.cc @@ -41,8 +41,6 @@ along with GCC; see the file COPYING3. If not see #endif // maybe put these back in if compiling no longer works -#include // for std::find - /* TODO: move non-essential stuff back here from rust-parse-impl.h after * confirming that it works */ -- cgit v1.1