summaryrefslogtreecommitdiffstats
path: root/isys
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2006-05-10 15:10:33 +0000
committerPeter Jones <pjones@redhat.com>2006-05-10 15:10:33 +0000
commita4488d14f48909ca6f16fd239c5b1c15cfb09163 (patch)
tree32aae1a5641752fce6983b373022caa622b140cc /isys
parentfd705d16441d50018dfaccab6e3ade05d9db8c50 (diff)
downloadanaconda-a4488d14f48909ca6f16fd239c5b1c15cfb09163.tar.gz
anaconda-a4488d14f48909ca6f16fd239c5b1c15cfb09163.tar.xz
anaconda-a4488d14f48909ca6f16fd239c5b1c15cfb09163.zip
- Fix keyboard loading hell
Diffstat (limited to 'isys')
-rw-r--r--isys/lang.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/isys/lang.c b/isys/lang.c
index cacce4fe7..c0e2d25e5 100644
--- a/isys/lang.c
+++ b/isys/lang.c
@@ -9,6 +9,11 @@
#include <unistd.h>
#include <linux/keyboard.h>
+#ifdef NR_KEYS
+#undef NR_KEYS
+#define NR_KEYS 128
+#endif
+
#include "linux/kd.h"
#include "cpio.h"