aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/X11/cmsProp.c
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11/lib/X11/cmsProp.c')
-rw-r--r--nx-X11/lib/X11/cmsProp.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/nx-X11/lib/X11/cmsProp.c b/nx-X11/lib/X11/cmsProp.c
index 4040a05ce..81ea58ce9 100644
--- a/nx-X11/lib/X11/cmsProp.c
+++ b/nx-X11/lib/X11/cmsProp.c
@@ -121,7 +121,11 @@ _XcmsGetProperty(
char *prop_ret;
int format_ret;
long len = 6516;
+ #ifdef NXAGENT_SERVER
+ unsigned long nitems_ret, after_ret = 0;
+ #else
unsigned long nitems_ret, after_ret;
+ #endif
Atom atom_ret;
while (XGetWindowProperty (pDpy, w, property, 0, len, False,