summaryrefslogtreecommitdiff
path: root/hw/dmx/dmxclient.h
diff options
context:
space:
mode:
Diffstat (limited to 'hw/dmx/dmxclient.h')
-rw-r--r--hw/dmx/dmxclient.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/dmx/dmxclient.h b/hw/dmx/dmxclient.h
index 4a0d689bd..586b82990 100644
--- a/hw/dmx/dmxclient.h
+++ b/hw/dmx/dmxclient.h
@@ -141,7 +141,9 @@ extern int ChangeDeviceNotify;
#include <X11/XKBlib.h>
#ifdef XKB
#include <X11/extensions/XKBproto.h>
+#ifndef XKB_IN_SERVER
#define XKB_IN_SERVER
+#endif
#include <X11/extensions/XKBsrv.h>
#undef XPointer
#endif