aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/xkb/xkbconfig.c
diff options
context:
space:
mode:
authorMihai Moldovan <ionic@ionic.de>2018-02-28 00:55:13 +0100
committerMihai Moldovan <ionic@ionic.de>2018-02-28 00:55:13 +0100
commit1918bcb9c01fcf45727b514afb8ca8d978a2bf93 (patch)
treea678fc2c488d1f8121cc736575e682541f465e95 /nx-X11/programs/Xserver/xkb/xkbconfig.c
parenta6cb8583adb16f299e968be4a8e99e903966e1d8 (diff)
parent00e3e95e5f40de2aaf5bb920bc51a311404889fc (diff)
downloadnx-libs-1918bcb9c01fcf45727b514afb8ca8d978a2bf93.tar.gz
nx-libs-1918bcb9c01fcf45727b514afb8ca8d978a2bf93.tar.bz2
nx-libs-1918bcb9c01fcf45727b514afb8ca8d978a2bf93.zip
Merge branch 'uli42-pr/update_xkb' into 3.6.x
Attributes GH PR #648: https://github.com/ArcticaProject/nx-libs/pull/648
Diffstat (limited to 'nx-X11/programs/Xserver/xkb/xkbconfig.c')
-rw-r--r--nx-X11/programs/Xserver/xkb/xkbconfig.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/nx-X11/programs/Xserver/xkb/xkbconfig.c b/nx-X11/programs/Xserver/xkb/xkbconfig.c
index 5fcd594bc..0e320ca20 100644
--- a/nx-X11/programs/Xserver/xkb/xkbconfig.c
+++ b/nx-X11/programs/Xserver/xkb/xkbconfig.c
@@ -49,6 +49,12 @@
#include <nx-X11/extensions/XKBconfig.h>
+#ifdef NEED_STRCASECMP
+extern int _XkbStrCaseCmp(char *s1, char *s2);
+#else
+#define _XkbStrCaseCmp strcasecmp
+#endif
+
/***====================================================================***/
#define XKBCF_MAX_STR_LEN 100