Include Xmd.h in x11drv.h with the proper defines to make it work, and