From: Felix Fietkau Date: Thu, 5 Oct 2017 17:46:48 +0000 (+0200) Subject: gcc: fix build error with macOS + Xcode 9 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=07a99a83f21ac6d23ec26affdd032424aff6a6e9;p=openwrt%2Fstaging%2Fwigyori.git gcc: fix build error with macOS + Xcode 9 Signed-off-by: Felix Fietkau --- diff --git a/toolchain/gcc/patches/5.4.0/030-macos-header-fix-backport.patch b/toolchain/gcc/patches/5.4.0/030-macos-header-fix-backport.patch new file mode 100644 index 0000000000..37c774e0b2 --- /dev/null +++ b/toolchain/gcc/patches/5.4.0/030-macos-header-fix-backport.patch @@ -0,0 +1,10 @@ +--- a/gcc/system.h ++++ b/gcc/system.h +@@ -216,6 +216,7 @@ extern int errno; + + #ifdef __cplusplus + # include ++# include + # include + # include + #endif