aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Edelsohn <dje.gcc@gmail.com>2019-11-04 13:52:46 +0000
committerDavid Edelsohn <dje@gcc.gnu.org>2019-11-04 08:52:46 -0500
commit253f29f1adefd9bc9808addd4498e6b9cea7827b (patch)
treed3a7bf7cd272e2c2fc9c072ea2455d911fc4507e
parent499d66aafd1f12e5fa8171b03dca6c8e3178302c (diff)
downloadgcc-253f29f1adefd9bc9808addd4498e6b9cea7827b.zip
gcc-253f29f1adefd9bc9808addd4498e6b9cea7827b.tar.gz
gcc-253f29f1adefd9bc9808addd4498e6b9cea7827b.tar.bz2
* ggc-common.c: Include system.h before malloc.h.
From-SVN: r277778
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/ggc-common.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 536ad7f..1b99947 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 b0a01c7..0841a0a 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"