aboutsummaryrefslogtreecommitdiff
path: root/libX11/src/xkb
diff options
context:
space:
mode:
Diffstat (limited to 'libX11/src/xkb')
-rwxr-xr-xlibX11/src/xkb/XKBMisc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libX11/src/xkb/XKBMisc.c b/libX11/src/xkb/XKBMisc.c
index c5045c925..37ebda6ad 100755
--- a/libX11/src/xkb/XKBMisc.c
+++ b/libX11/src/xkb/XKBMisc.c
@@ -37,7 +37,9 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <X11/keysym.h>
#include "XKBlibint.h"
+#ifdef XKB_IN_SERVER
#define XkbVirtualModsToReal SrvXkbVirtualModsToReal
+#endif
/***====================================================================***/