#include int main(int, char **) { Display *d = XOpenDisplay(NULL); XCloseDisplay(d); return 0; }