Project->Build Options->Project, make sure Include Path points to the location of mcc18\h. Of course this assumes that you are using MPLAB - other build environments are probably different.
The mcc18 on my system is located on E:\ drive, but most systems have the compiler suite on C:\ drive. You can use the browse function to locate the mcc18\h directory.