openwrt/toolchain/gcc/patches/5.4.0/030-macos-header-fix-backport.patch
Felix Fietkau a999f91ca3 gcc: fix build error with macOS + Xcode 9
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2017-10-05 21:16:25 +02:00

11 lines
188 B
Diff

--- 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