The change to add malloc.h to ggc-common.c broke bootstrap.  system.h
must be included before system header files.  The following patch
fixes this, committed as obvious with concurrence by Richi.

Thanks, David

* ggc-common.c: Include system.h before malloc.h.

Index: ggc-common.c
===================================================================
--- ggc-common.c        (revision 277777)
+++ ggc-common.c        (working copy)
@@ -21,10 +21,10 @@
    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"

Reply via email to