Hi
Did you put these specific Windows headers inside a:
#if PLATFORM_WINDOWS
...
#endif
I’m saying this because I believe my problem is similar to yours:
https://forums.unrealengine.com/development-discussion/c-gameplay-programming/1573026-privateincludepaths-adding-multiple-platforms-when-using-editor-s-launch
Codes for different platforms are being included together.
I’m going to try to create a project and see if I can reproduce the error again to send a bug submission about it.