diff options
author | Mihai Moldovan <ionic@ionic.de> | 2017-12-16 09:40:44 +0100 |
---|---|---|
committer | Mihai Moldovan <ionic@ionic.de> | 2017-12-16 09:40:44 +0100 |
commit | caa048a18cfbf960e26b521fc918be53205ee4a6 (patch) | |
tree | db64e4e87bd087687993af9194c177f40a8aa846 /nx-X11/programs | |
parent | 404e6634a3af5352043bcb5c2c57ec25c8728281 (diff) | |
download | nx-libs-caa048a18cfbf960e26b521fc918be53205ee4a6.tar.gz nx-libs-caa048a18cfbf960e26b521fc918be53205ee4a6.tar.bz2 nx-libs-caa048a18cfbf960e26b521fc918be53205ee4a6.zip |
Handle SHAPE proto splitup gracefully for legacy Xext proto versions.
Diffstat (limited to 'nx-X11/programs')
-rw-r--r-- | nx-X11/programs/Xserver/Xext/shape.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/nx-X11/programs/Xserver/Xext/shape.c b/nx-X11/programs/Xserver/Xext/shape.c index fa7f9e2e9..15e0684fc 100644 --- a/nx-X11/programs/Xserver/Xext/shape.c +++ b/nx-X11/programs/Xserver/Xext/shape.c @@ -41,7 +41,11 @@ in this Software without prior written authorization from The Open Group. #include "dixstruct.h" #include "resource.h" #include "opaque.h" +#ifdef LEGACY_XEXT_PROTO +#include <X11/extensions/shape.h> +#else #include <X11/extensions/shapeproto.h> +#endif #include "protocol-versions.h" #include "regionstr.h" #include "gcstruct.h" |