aboutsummaryrefslogtreecommitdiff
path: root/libX11/src/StrKeysym.c
diff options
context:
space:
mode:
Diffstat (limited to 'libX11/src/StrKeysym.c')
-rw-r--r--libX11/src/StrKeysym.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libX11/src/StrKeysym.c b/libX11/src/StrKeysym.c
index 8fb384505..e2458fcd0 100644
--- a/libX11/src/StrKeysym.c
+++ b/libX11/src/StrKeysym.c
@@ -38,12 +38,14 @@ in this Software without prior written authorization from The Open Group.
#ifndef KEYSYMDB
#ifndef XKEYSYMDB
-#define KEYSYMDB "/usr/lib/X11/XKeysymDB"
+#define KEYSYMDB "XKeysymDB"
#else
#define KEYSYMDB XKEYSYMDB
#endif
#endif
+#include <unistd.h>
+
static Bool initialized;
static XrmDatabase keysymdb;
static XrmQuark Qkeysym[2];