If you're using Debian or Ubuntu, you can install the necessary X11 development packages. The primary package you'll likely want is:
#include <xc.h>
This package provides the development files for the X11 library, including header files like X11/Xlib.h , which might be what you're looking for or lead you to the correct path. xc.h library download