I am trying to include the xact3.h header file in a game project but i keep getting some errors related to mmreg.h
#include <xact3.h>
#include <Windows.h>
1>c:\program files\windows kits\8.0\include\shared\mmreg.h(2469): error C2332: 'struct' : missing tag name
1>c:\program files\windows kits\8.0\include\shared\mmreg.h(2469): warning C4094: untagged 'struct' declared no symbols
1>c:\program files\windows kits\8.0\include\shared\mmreg.h(2469): error C2143: syntax error : missing ';' before '__uuidof'
1>c:\program files\windows kits\8.0\include\shared\mmreg.h(2469): error C2059: syntax error : '__uuidof'
1>c:\program files\windows kits\8.0\include\shared\mmreg.h(2470): warning C4005: 'KSDATAFORMAT_SUBTYPE_PCM' : macro redefinition
Those above are some of the errors i get. I am using Windows 8 if that is relevant. I've tried a lot of things like defining WIN32_LEAN_AND_MEAN or rearanging the headers but without success. Can someone tell me what could be the problem and how can I fix it?