summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Xext/sync.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Xext/sync.c b/Xext/sync.c
index d9e66b3f4..ac3720647 100644
--- a/Xext/sync.c
+++ b/Xext/sync.c
@@ -67,7 +67,9 @@ PERFORMANCE OF THIS SOFTWARE.
#include "dixstruct.h"
#include "resource.h"
#include "opaque.h"
+#define _SYNC_SERVER
#include <X11/extensions/sync.h>
+#undef _SYNC_SERVER
#include <X11/extensions/syncstr.h>
#include "syncsrv.h"