summaryrefslogtreecommitdiff
path: root/src/keymap
diff options
context:
space:
mode:
Diffstat (limited to 'src/keymap')
-rw-r--r--src/keymap/Makefile.am2
-rw-r--r--src/keymap/keymap.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/keymap/Makefile.am b/src/keymap/Makefile.am
index f21cb80aae..3e3c90f854 100644
--- a/src/keymap/Makefile.am
+++ b/src/keymap/Makefile.am
@@ -5,7 +5,7 @@ udevlibexecdir=@udevlibexecdir@
AM_CPPFLAGS = \
-I $(top_srcdir)/src/libudev \
-I $(top_srcdir)/src/udev \
- -DUDEVLIBEXECDIR=\"$(udevlibexecdir)\"
+ -DUDEV_LIBEXEC_DIR=\"$(udevlibexecdir)\"
udevlibexec_PROGRAMS = \
keymap
diff --git a/src/keymap/keymap.c b/src/keymap/keymap.c
index 939407fd0b..b350a8cd86 100644
--- a/src/keymap/keymap.c
+++ b/src/keymap/keymap.c
@@ -429,7 +429,7 @@ int main(int argc, char **argv)
if (f) {
merge_table(fd, f);
} else {
- snprintf(keymap_path, sizeof(keymap_path), UDEVLIBEXECDIR "/keymaps/%s", filearg);
+ snprintf(keymap_path, sizeof(keymap_path), UDEV_LIBEXEC_DIR "/keymaps/%s", filearg);
f = fopen(keymap_path, "re");
if (f)
merge_table(fd, f);