summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJay Sorg <jay.sorg@gmail.com>2014-03-18 17:37:23 -0700
committerJay Sorg <jay.sorg@gmail.com>2014-03-18 17:37:23 -0700
commitdcc7dd309702250a4a3f1d1623f6c79fed152757 (patch)
treecbf5bf46ddb62d96bd74b3c8e131bd19da860bc5
parent3aae7ffff62ce0259c2b94513f4e1cc9e0e8096f (diff)
downloadxrdp-proprietary-dcc7dd309702250a4a3f1d1623f6c79fed152757.tar.gz
xrdp-proprietary-dcc7dd309702250a4a3f1d1623f6c79fed152757.zip
xorg: fix for compiling on xserver 1.14+
-rw-r--r--xorg/server/xrdpdev/xrdpdev.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/xorg/server/xrdpdev/xrdpdev.c b/xorg/server/xrdpdev/xrdpdev.c
index 7e5959ba..822942fa 100644
--- a/xorg/server/xrdpdev/xrdpdev.c
+++ b/xorg/server/xrdpdev/xrdpdev.c
@@ -449,7 +449,11 @@ rdpScreenInit(ScreenPtr pScreen, int argc, char **argv)
LLOGLN(0, ("rdpScreenInit: fbScreenInit failed"));
return FALSE;
}
+
+#if XORG_VERSION_CURRENT < XORG_VERSION_NUMERIC(1, 14, 0, 0, 0)
+ /* 1.13 has this function, 1.14 and up does not */
miInitializeBackingStore(pScreen);
+#endif
#if 0
/* XVideo */