How to start spectating from clients?

Hello, sorry to bother you again, but I’m having some problems with the player controller that you made… when i compile it, it fails and it gives this error:

D:/UnrealProjects/cest workspace/Source/cest/Public/MyPlayerController.h(25) : Error: Expected an include at the top of the header: ‘#include “MyPlayerController.generated.h”’

I tried to add that, but then it started to give other errors that I couldnt fix, also cuz i know almost nothing about C++ ahah
Thanks in advance