aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIain Buclaw <ibuclaw@gdcproject.org>2021-03-21 17:51:39 +0100
committerIain Buclaw <ibuclaw@gdcproject.org>2021-03-26 16:14:12 +0100
commit74ed3fc27966b07d701e1dead1cc37b53af227b4 (patch)
tree4f23d22812267867e6a8e654f399162d80f1510f
parent8ab1d637440532d9698daae84cc81a43d36b4aa8 (diff)
downloadgcc-74ed3fc27966b07d701e1dead1cc37b53af227b4.zip
gcc-74ed3fc27966b07d701e1dead1cc37b53af227b4.tar.gz
gcc-74ed3fc27966b07d701e1dead1cc37b53af227b4.tar.bz2
[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.
-rw-r--r--gcc/config/freebsd-d.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/config/freebsd-d.c b/gcc/config/freebsd-d.c
index 425ca83..8a8ddd9 100644
--- a/gcc/config/freebsd-d.c
+++ b/gcc/config/freebsd-d.c
@@ -18,6 +18,7 @@ along with GCC; see the file COPYING3. If not see
#include "config.h"
#include "system.h"
#include "coretypes.h"
+#include "memmodel.h"
#include "tm.h"
#include "tm_p.h"
#include "d/d-target.h"