diff -r 56cd8111b7f7 -r 41300fa6a67c config.tests/x11/xsync/xsync.cpp --- a/config.tests/x11/xsync/xsync.cpp Tue Jan 26 12:42:25 2010 +0200 +++ b/config.tests/x11/xsync/xsync.cpp Tue Feb 02 00:43:10 2010 +0200 @@ -41,12 +41,16 @@ #include #include +extern "C" { #include +} int main(int, char **) { XSyncValue value; (void*)&XSyncIntToValue; (void*)&XSyncCreateCounter; - return 0; + int a, b; + Status ret = XSyncInitialize(NULL, &a, &b); + return ret; }