If you need the header file named "xc.h" (commonly used for Microchip XC compilers for PIC microcontrollers), download it by installing the appropriate Microchip XC compiler package for your target device:
Go to: Microchip XC Compilers