Error compiling Xext/sync.c

Colin Harrison colin.harrison at virgin.net
Thu Dec 11 09:07:38 PST 2008


Hi,

Following a recent git commit Xext/syn.c stopped compiling for me (using
MinGW).

Fixed by

--- ./xserver/Xext/sync.c       2008-12-11 15:44:08.000000000 +0000
+++ ./test2/Xext/sync.c 2008-12-11 17:02:25.000000000 +0000
@@ -67,6 +67,7 @@
 #include "dixstruct.h"
 #include "resource.h"
 #include "opaque.h"
+#define _SYNC_SERVER
 #include <X11/extensions/sync.h>
 #include <X11/extensions/syncstr.h>
 #include "syncsrv.h"
@@ -252,7 +253,7 @@
 }

 static int
-SyncInitTrigger(ClientPtr client, SyncTrigger pTrigger, XSyncCounter
counter,
+SyncInitTrigger(ClientPtr client, SyncTrigger *pTrigger, XSyncCounter
counter,
                Mask changes)
 {
     SyncCounter *pCounter = pTrigger->pCounter;

Thanks
Colin




More information about the xorg mailing list