aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11/programs')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Agent.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Agent.h b/nx-X11/programs/Xserver/hw/nxagent/Agent.h
index 8577865a2..e74f15777 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Agent.h
+++ b/nx-X11/programs/Xserver/hw/nxagent/Agent.h
@@ -112,6 +112,13 @@ typedef XID KeySym64;
#define NX_TRANS_SOCKET
#define GC XlibGC
#include <nx-X11/Xlib.h>
+/*
+ <X11/extension/shape.h> includes <X11/Xutil.h> but we need
+ <nx-X11/Xutil.h>. As both use the same header guard we can first
+ include <nx-X11/Xutil.h> and be ok.
+*/
+#include <nx-X11/Xutil.h>
+
#include <X11/extensions/shape.h>
#undef GC