projects
/
openwrt
/
staging
/
wigyori.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gcc: fix build error with macOS + Xcode 9
[openwrt/staging/wigyori.git]
/
toolchain
/
gcc
/
patches
/
5.4.0
/
030-macos-header-fix-backport.patch
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
(file)
index 0000000..
37c774e
--- /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