It's probably not something wrong with the way you included the file, but an error inside the header file. The compiler starts the error message with "In file included from.." just to tell you the context where the file was included (what you called linked).
You'll need to include the rest of the error message, and the code from the header file that's really causing the error if you want more help.