From cf0b6451a9bd6edb734ca7ff7f9346c7e97657b7 Mon Sep 17 00:00:00 2001 From: Iain Buclaw Date: Sat, 27 Apr 2019 16:52:26 +0000 Subject: [PATCH] [netbsd] d: Fix build failures on sparc*-netbsd gcc/ChangeLog: 2019-04-27 Iain Buclaw * config/netbsd-d.c: Include memmodel.h. Remove unused tree.h, varasm.h, and netbsd-protos.h. From-SVN: r270625 --- gcc/ChangeLog | 5 +++++ gcc/config/netbsd-d.c | 4 +--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c1adf69d5d7..124f506eaf4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2019-04-27 Iain Buclaw + + * config/netbsd-d.c: Include memmodel.h. Remove unused tree.h, + varasm.h, and netbsd-protos.h. + 2019-04-27 Uroš Bizjak PR target/89261 diff --git a/gcc/config/netbsd-d.c b/gcc/config/netbsd-d.c index 76342aacae3..5957256fa9b 100644 --- a/gcc/config/netbsd-d.c +++ b/gcc/config/netbsd-d.c @@ -21,9 +21,7 @@ along with GCC; see the file COPYING3. If not see #include "system.h" #include "coretypes.h" #include "tm.h" -#include "tree.h" -#include "varasm.h" -#include "netbsd-protos.h" +#include "memmodel.h" #include "tm_p.h" #include "d/d-target.h" #include "d/d-target-def.h" -- 2.30.2