extern "C" { #include } int main() { xdo_t* xdo = xdo_new(NULL); if(!xdo) { return 1; } return 0; }