[netbsd] d: Fix build failures on sparc*-netbsd
authorIain Buclaw <ibuclaw@gdcproject.org>
Sat, 27 Apr 2019 16:52:26 +0000 (16:52 +0000)
committerIain Buclaw <ibuclaw@gcc.gnu.org>
Sat, 27 Apr 2019 16:52:26 +0000 (16:52 +0000)
gcc/ChangeLog:

2019-04-27  Iain Buclaw  <ibuclaw@gdcproject.org>

* config/netbsd-d.c: Include memmodel.h.  Remove unused tree.h,
varasm.h, and netbsd-protos.h.

From-SVN: r270625

gcc/ChangeLog
gcc/config/netbsd-d.c

index c1adf69d5d7aaf02e70e0801a8c4cdef407058d8..124f506eaf4cae3b311e598368ebe10b8b076ae3 100644 (file)
@@ -1,3 +1,8 @@
+2019-04-27  Iain Buclaw  <ibuclaw@gdcproject.org>
+
+       * config/netbsd-d.c: Include memmodel.h.  Remove unused tree.h,
+       varasm.h, and netbsd-protos.h.
+
 2019-04-27  Uroš Bizjak  <ubizjak@gmail.com>
 
        PR target/89261
index 76342aacae3578199668e504b1d1afc8d46a3918..5957256fa9b9dc25ad859476cbf8773e95d6a8d7 100644 (file)
@@ -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"