mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-02-07 00:00:42 +01:00
gcc: fix build error with macOS + Xcode 9
Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
2ce9c84a92
commit
a999f91ca3
1 changed files with 10 additions and 0 deletions
|
|
@ -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
|
||||
Loading…
Add table
Reference in a new issue