From b8d9c2ec505aa7cbb5e5e0bdc03092b0a68b18c9 Mon Sep 17 00:00:00 2001 From: Felix Zhang Date: Fri, 18 Sep 2020 12:17:00 +0800 Subject: [PATCH] genkeymap: Fix an array declaration conflict The conflict on the size of xfree86_to_evdev between genkeymap.c and evdev-map.c is causing build failures in openSUSE builds --- genkeymap/genkeymap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/genkeymap/genkeymap.c b/genkeymap/genkeymap.c index 3b654454..c9642d1e 100644 --- a/genkeymap/genkeymap.c +++ b/genkeymap/genkeymap.c @@ -44,7 +44,7 @@ #include #include -extern int xfree86_to_evdev[137-8]; +extern int xfree86_to_evdev[137-8+1]; int main(int argc, char **argv) {