aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/hw/dmx/dmxclient.h
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/hw/dmx/dmxclient.h')
-rw-r--r--xorg-server/hw/dmx/dmxclient.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/xorg-server/hw/dmx/dmxclient.h b/xorg-server/hw/dmx/dmxclient.h
index f0c3608da..147d14ed8 100644
--- a/xorg-server/hw/dmx/dmxclient.h
+++ b/xorg-server/hw/dmx/dmxclient.h
@@ -91,10 +91,8 @@ typedef XID KeySym64;
#undef PictFormatType
#endif
-#ifdef XKB
#include <X11/extensions/XKB.h>
-#include <X11/extensions/XKBstr.h>
-#endif
+#include "xkbstr.h"
#include <X11/extensions/XI.h>
@@ -134,14 +132,9 @@ extern int ChangeDeviceNotify;
/* Some protocol gets included last, after undefines. */
#include <X11/XKBlib.h>
-#ifdef XKB
#include <X11/extensions/XKBproto.h>
-#ifndef XKB_IN_SERVER
-#define XKB_IN_SERVER
-#endif
-#include <xkbsrv.h>
+#include "xkbstr.h"
#undef XPointer
-#endif
#include <X11/extensions/XIproto.h>
#endif