w32api.h wasn't included in any sources in the Makefile.
Also fix path in vcxproj, the file is in mono/utils not mono/metadata.
checked-build.c \
checked-build.h \
os-event.h \
- refcount.h
+ refcount.h \
+ w32api.h
arch_sources =
<ClInclude Include="..\mono\metadata\w32file-win32-internals.h" />\r
<ClInclude Include="..\mono\metadata\w32file.h" />\r
<ClInclude Include="..\mono\metadata\w32error.h" />\r
- <ClInclude Include="..\mono\metadata\w32api.h" />\r
+ <ClInclude Include="..\mono\utils\w32api.h" />\r
<ClInclude Include="..\mono\metadata\filewatcher.h" />\r
<ClInclude Include="..\mono\metadata\gc-internals.h" />\r
<ClInclude Include="..\mono\metadata\handle.h" />\r
<ClInclude Include="..\mono\metadata\w32error.h">\r
<Filter>Header Files</Filter>\r
</ClInclude>\r
- <ClInclude Include="..\mono\metadata\w32api.h">\r
+ <ClInclude Include="..\mono\utils\w32api.h">\r
<Filter>Header Files</Filter>\r
</ClInclude>\r
<ClInclude Include="..\mono\metadata\filewatcher.h">\r