You have not said which compiler you are using, or what the error was.
This code does however compile without any problem with many different compilers and for many different chips. Generally an error originating from a header file like this is a symptom on an error in the file from which the header file is being called.
And now that I’m awake, I found it… A sticky CTRL key on my new laptop left an “s” hanging at the end of a file when I tried to save it, I thought I’d fixed that.