From 9895fdf7e3bc72795dda3d3aa60340ac10a4a0c7 Mon Sep 17 00:00:00 2001 From: Antoine Brodin Date: Tue, 27 Dec 2016 10:06:19 +0000 Subject: MFH: r424307 Fix build with libc++ 3.9.0 PR: 212696 Submitted by: dim --- devel/avr-gcc/files/patch-gcc_system.h | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 devel/avr-gcc/files/patch-gcc_system.h diff --git a/devel/avr-gcc/files/patch-gcc_system.h b/devel/avr-gcc/files/patch-gcc_system.h new file mode 100644 index 000000000000..05f61aaab868 --- /dev/null +++ b/devel/avr-gcc/files/patch-gcc_system.h @@ -0,0 +1,10 @@ +--- gcc/system.h.orig 2014-01-02 22:23:26 UTC ++++ gcc/system.h +@@ -203,6 +203,7 @@ extern int errno; + + #ifdef __cplusplus + # include ++# include + #endif + + /* Some of glibc's string inlines cause warnings. Plus we'd rather -- cgit v1.2.3