--- lang/gcc5/files/patch-gcc_auto-profile.c (nonexistent) +++ lang/gcc5/files/patch-gcc_auto-profile.c (working copy) @@ -0,0 +1,15 @@ +--- gcc/auto-profile.c.orig 2015-01-18 02:25:42 UTC ++++ gcc/auto-profile.c +@@ -19,11 +19,9 @@ along with GCC; see the file COPYING3. + . */ + + #include "config.h" +-#include "system.h" +- +-#include + #include + #include ++#include "system.h" + + #include "coretypes.h" + #include "hash-set.h" --- lang/gcc5/files/patch-gcc_graphite-isl-ast-to-gimple.c (nonexistent) +++ lang/gcc5/files/patch-gcc_graphite-isl-ast-to-gimple.c (working copy) @@ -0,0 +1,18 @@ +--- gcc/graphite-isl-ast-to-gimple.c.orig 2017-01-19 21:02:12 UTC ++++ gcc/graphite-isl-ast-to-gimple.c +@@ -38,6 +38,7 @@ extern "C" { + #endif + #endif + ++#include + #include "system.h" + #include "coretypes.h" + #include "hash-set.h" +@@ -75,7 +76,6 @@ extern "C" { + #include "tree-scalar-evolution.h" + #include "gimple-ssa.h" + #include "tree-into-ssa.h" +-#include + + #ifdef HAVE_isl + #include "graphite-poly.h" --- lang/gcc5/files/patch-gcc_system.h (nonexistent) +++ lang/gcc5/files/patch-gcc_system.h (working copy) @@ -0,0 +1,10 @@ +--- gcc/system.h.orig 2015-01-05 12:33:28 UTC ++++ gcc/system.h +@@ -217,6 +217,7 @@ extern int errno; + #ifdef __cplusplus + # include + # include ++# include + # include + #endif +