From 32d178b50fe0da05e51e4fe8903c84371d133331 Mon Sep 17 00:00:00 2001 From: worldofpeace Date: Fri, 19 Jul 2019 02:56:41 -0400 Subject: [PATCH] test/rmlvo-to-keymap.c: fix compilation on Darwin (#101) program_invocation_short_name isn't portable. --- test/rmlvo-to-keymap.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/test/rmlvo-to-keymap.c b/test/rmlvo-to-keymap.c index ed48e49..89f71a0 100644 --- a/test/rmlvo-to-keymap.c +++ b/test/rmlvo-to-keymap.c @@ -28,15 +28,16 @@ #include #include #include +#include #include "xkbcommon/xkbcommon.h" static bool print = false; static void -usage(void) +usage(char **argv) { printf("Usage: %s [--print] [--rules ] [--layout ] [--variant ] [--options