summaryrefslogtreecommitdiffstats
path: root/unix/xserver
diff options
context:
space:
mode:
Diffstat (limited to 'unix/xserver')
-rw-r--r--unix/xserver/hw/vnc/vncHooks.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/unix/xserver/hw/vnc/vncHooks.cc b/unix/xserver/hw/vnc/vncHooks.cc
index 29de4c4c..f75a2d49 100644
--- a/unix/xserver/hw/vnc/vncHooks.cc
+++ b/unix/xserver/hw/vnc/vncHooks.cc
@@ -89,8 +89,13 @@ typedef struct {
} vncHooksScreenRec, *vncHooksScreenPtr;
typedef struct {
+#if XORG >= 116
const GCFuncs *wrappedFuncs;
const GCOps *wrappedOps;
+#else
+ GCFuncs *wrappedFuncs;
+ GCOps *wrappedOps;
+#endif
} vncHooksGCRec, *vncHooksGCPtr;
#if XORG == 15
@@ -916,7 +921,11 @@ public:
}
GCPtr pGC;
vncHooksGCPtr vncHooksGC;
+#if XORG >= 116
const GCFuncs* oldFuncs;
+#else
+ GCFuncs* oldFuncs;
+#endif
ScreenPtr pScreen;
};