Surround public functions requiring X11 headers with #ifndef MAKE_PROTO; these are in xproto.h, which is not generated by cproto.