I was building the sources I got from https://www.postgresql.org/ftp/snapshot/dev/ on Windows x64 and got the whole bunch of errors like "Cannot open include file: 'catalog/pg_type_d.h" , "Cannot open include file: 'catalog/pg_tablespace_d.h'" . I've attached the log.
The renaming was done as part of following commit, but the location where *_d.h are present is not included in INCLUDE. Example: pg_type.h is present at src/include/catalog/ and pg_type_d.h is present at src/backend/catalog/. I added the required path in MSBuildProject.pm and the build is passed. Here is the diff: