This is the system file you should include as a matter of last resort if you are developing for the ATMega328P but your actual board is not listed in the sys folder. ie it is for a generic 328P board. This may also be because you have created your own ATMega328P based board. Consequently the library assumes that all processor pins have header pins.
It will make sure that your compiler settings are appropriate: ie ATMega328P