From 253f29f1adefd9bc9808addd4498e6b9cea7827b Mon Sep 17 00:00:00 2001
From: David Edelsohn <dje.gcc@gmail.com>
Date: Mon, 4 Nov 2019 13:52:46 +0000
Subject: [PATCH] * ggc-common.c: Include system.h before malloc.h.

From-SVN: r277778
---
 gcc/ChangeLog    | 4 ++++
 gcc/ggc-common.c | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 536ad7fd4bcf..1b99947db227 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2019-11-04  David Edelsohn  <dje.gcc@gmail.com>
+
+	* ggc-common.c: Include system.h before malloc.h.
+
 2019-11-04  Alexandre Oliva <oliva@adacore.com>
 
 	* configure.ac: Pass --enable-obsolete=* and
diff --git a/gcc/ggc-common.c b/gcc/ggc-common.c
index b0a01c7aa20d..0841a0ab6c43 100644
--- a/gcc/ggc-common.c
+++ b/gcc/ggc-common.c
@@ -21,10 +21,10 @@ along with GCC; see the file COPYING3.  If not see
    any particular GC implementation.  */
 
 #include "config.h"
+#include "system.h"
 #ifdef HAVE_MALLINFO
 #include <malloc.h>
 #endif
-#include "system.h"
 #include "coretypes.h"
 #include "timevar.h"
 #include "diagnostic-core.h"
-- 
GitLab