about summary refs log tree commit diff
path: root/keyboard.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboard.c')
-rw-r--r--keyboard.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/keyboard.c b/keyboard.c
index 0d6b43b..879704c 100644
--- a/keyboard.c
+++ b/keyboard.c
@@ -13,6 +13,11 @@
 	fprintf(stderr, __VA_ARGS__);                                                \
 	exit(1)
 
+#ifndef KEYMAP
+#error "make sure to define KEYMAP"
+#endif
+#include KEYMAP
+
 void
 kbd_switch_layout(struct kbd *kb, struct layout *l) {
 	kb->prevlayout = kb->layout;