aboutsummaryrefslogtreecommitdiff
path: root/nx-X11
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11')
-rw-r--r--nx-X11/programs/Xserver/Xext/shape.c4
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"