[freebsd] d: Fix build failures on sparc64-*-freebsd*
authorIain Buclaw <ibuclaw@gdcproject.org>
Sun, 21 Mar 2021 16:51:39 +0000 (17:51 +0100)
committerIain Buclaw <ibuclaw@gdcproject.org>
Fri, 26 Mar 2021 15:14:12 +0000 (16:14 +0100)
commit74ed3fc27966b07d701e1dead1cc37b53af227b4
tree4f23d22812267867e6a8e654f399162d80f1510f
parent8ab1d637440532d9698daae84cc81a43d36b4aa8
[freebsd] d: Fix build failures on sparc64-*-freebsd*

All target platforms that could run on SPARC should include this header
in order to avoid errors from memmodel being used in sparc-protos.h.

gcc/ChangeLog:

* config/freebsd-d.c: Include memmodel.h.
gcc/config/freebsd-d.c