aboutsummaryrefslogtreecommitdiff
path: root/libX11/src/xkb/XKBMisc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libX11/src/xkb/XKBMisc.c')
-rw-r--r--libX11/src/xkb/XKBMisc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libX11/src/xkb/XKBMisc.c b/libX11/src/xkb/XKBMisc.c
index 9a6308a34..c7db46587 100644
--- a/libX11/src/xkb/XKBMisc.c
+++ b/libX11/src/xkb/XKBMisc.c
@@ -48,6 +48,7 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <X11/X.h>
#define NEED_EVENTS
#define NEED_REPLIES
+#define XkbVirtualModsToReal SrvXkbVirtualModsToReal
#include <X11/Xproto.h>
#include "misc.h"
#include "inputstr.h"
@@ -55,7 +56,6 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#define XKBSRV_NEED_FILE_FUNCS
#include <X11/extensions/XKBsrv.h>
-#define XkbVirtualModsToReal SrvXkbVirtualModsToReal
#endif /* XKB_IN_SERVER */
/***====================================================================***/