gcc: fix build error with macOS + Xcode 9
[openwrt/staging/chunkeey.git] / toolchain / gcc / patches / 5.4.0 / 030-macos-header-fix-backport.patch
1 --- a/gcc/system.h
2 +++ b/gcc/system.h
3 @@ -216,6 +216,7 @@ extern int errno;
4
5 #ifdef __cplusplus
6 # include <algorithm>
7 +# include <map>
8 # include <cstring>
9 # include <utility>
10 #endif