mirror of https://github.com/hak5/openwrt.git
gcc: fix build error with macOS + Xcode 9
Signed-off-by: Felix Fietkau <nbd@nbd.name>openwrt-18.06
parent
603900ef82
commit
07a99a83f2
|
@ -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…
Reference in New Issue