diff options
author | Felix Fietkau <nbd@nbd.name> | 2017-10-05 19:46:48 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2017-10-05 21:16:25 +0200 |
commit | a999f91ca3f9cf0ec57de2dc62d7a77ea45822c2 (patch) | |
tree | 92b86821dbd61d7f58343ae94372b8f8f3673bd9 /toolchain/gcc/patches | |
parent | 2ce9c84a9233946ca229429d053fcd289b1d1342 (diff) | |
download | upstream-a999f91ca3f9cf0ec57de2dc62d7a77ea45822c2.tar.gz upstream-a999f91ca3f9cf0ec57de2dc62d7a77ea45822c2.tar.bz2 upstream-a999f91ca3f9cf0ec57de2dc62d7a77ea45822c2.zip |
gcc: fix build error with macOS + Xcode 9
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'toolchain/gcc/patches')
-rw-r--r-- | toolchain/gcc/patches/5.4.0/030-macos-header-fix-backport.patch | 10 |
1 files changed, 10 insertions, 0 deletions
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 <algorithm> ++# include <map> + # include <cstring> + # include <utility> + #endif |