aboutsummaryrefslogtreecommitdiff
path: root/libX11/src/xkb/XKB.c
diff options
context:
space:
mode:
Diffstat (limited to 'libX11/src/xkb/XKB.c')
-rw-r--r--libX11/src/xkb/XKB.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libX11/src/xkb/XKB.c b/libX11/src/xkb/XKB.c
index 202a9bd0b..bdb317993 100644
--- a/libX11/src/xkb/XKB.c
+++ b/libX11/src/xkb/XKB.c
@@ -32,6 +32,11 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <stdio.h>
#define NEED_REPLIES
#define NEED_EVENTS
+
+#ifdef XKB_IN_SERVER
+#define XkbVirtualModsToReal SrvXkbVirtualModsToReal
+#endif
+
#include "Xlibint.h"
#include <X11/extensions/XKBproto.h>
#include "XKBlibint.h"