Jinoh Kang (@iamahuman) commented about tools/winegcc/winegcc.c:
{ if (j && !strcmp( incl_dirs[0], incl_dirs[j] )) continue; strarray_add(&comp_args, strmake( "%s%s%s/wine/windows", isystem, root, incl_dirs[j] ));
strarray_add(&comp_args, strmake( "%s%s%s", idirafter, root, incl_dirs[j] ));
if (!opts->use_msvcrt) strarray_add(&comp_args, strmake( "%s%s%s", idirafter, root, incl_dirs[j] ));
Should line 786 (`includedir`) be patched as well?