5.1 Compile issues with LevelSequenceObject.h

Cant compile my unreal 5.1 project when i import LevelSequenceActor.h. Even with an empty project when i import that i get this error:

LevelSequenceObject.h(22): [C4430] missing type specifier - int assumed. Note: C++ does not support default-int

(Using Visual Studio 2022 14.34.31933 toolchain)

issue resolved after reinstalling the engine