Adding missing #includes to try to get this to compile on Windows with Visual Studio.