diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2017-10-21 02:47:07 +0200 |
---|---|---|
committer | Mihai Moldovan <ionic@ionic.de> | 2018-02-07 23:15:57 +0100 |
commit | 8ebb5d23c931810335739be16c1b10f44ed3c4d0 (patch) | |
tree | c515a43e30523bc58dafc7c548623a00036945ea /nx-X11/programs/Xserver | |
parent | e85c6885e7f44d35248281c867e16be8a3fb97f1 (diff) | |
download | nx-libs-8ebb5d23c931810335739be16c1b10f44ed3c4d0.tar.gz nx-libs-8ebb5d23c931810335739be16c1b10f44ed3c4d0.tar.bz2 nx-libs-8ebb5d23c931810335739be16c1b10f44ed3c4d0.zip |
Xext: lift xres.c to xorg-xserver-7.1/1.1 state
Fix XSERVER64 should be _XSERVER64
Diffstat (limited to 'nx-X11/programs/Xserver')
-rw-r--r-- | nx-X11/programs/Xserver/Xext/xres.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/nx-X11/programs/Xserver/Xext/xres.c b/nx-X11/programs/Xserver/Xext/xres.c index ceb9c65d4..03597ad95 100644 --- a/nx-X11/programs/Xserver/Xext/xres.c +++ b/nx-X11/programs/Xserver/Xext/xres.c @@ -6,6 +6,8 @@ #include <dix-config.h> #endif +#include <stdio.h> +#include <string.h> #include <nx-X11/X.h> #include <nx-X11/Xproto.h> #include "misc.h" @@ -206,7 +208,7 @@ ProcXResQueryClientPixmapBytes (ClientPtr client) rep.sequenceNumber = client->sequence; rep.length = 0; rep.bytes = bytes; -#ifdef XSERVER64 +#ifdef _XSERVER64 rep.bytes_overflow = bytes >> 32; #else rep.bytes_overflow = 0; |