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 4394e0cd2..2ac9076e4 100644
--- a/libX11/src/StrKeysym.c
+++ b/libX11/src/StrKeysym.c
@@ -39,12 +39,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];