diff options
Diffstat (limited to 'xserver/Xext/sync.c')
-rw-r--r-- | xserver/Xext/sync.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/xserver/Xext/sync.c b/xserver/Xext/sync.c index a006ae95b..94e5a884f 100644 --- a/xserver/Xext/sync.c +++ b/xserver/Xext/sync.c @@ -67,9 +67,14 @@ PERFORMANCE OF THIS SOFTWARE. #include "dixstruct.h" #include "resource.h" #include "opaque.h" +#ifdef HAVE_X11_EXTENSIONS_SYNCPROTO_H +#include <X11/extensions/syncproto.h> +#include "syncsrv.h" +#else #define _SYNC_SERVER #include <X11/extensions/sync.h> #include <X11/extensions/syncstr.h> +#endif #include <stdio.h> #if !defined(WIN32) |