How can I fix an error with #include AbilitySystemInterface from GameplayAbilities?

I want to also note that if I remove all of those references to GameplayAbilities files, so that the error goes away, then when I try to recompile the GameplayAblities module in the editor via Windows->Modules, the compile fails. The error in the log says “Can’t save a makefile that has invalide contents.”