From: worldofpeace Date: Fri, 19 Jul 2019 06:56:41 +0000 (-0400) Subject: test/rmlvo-to-keymap.c: fix compilation on Darwin (#101) X-Git-Tag: xkbcommon-0.9.0~24 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=32d178b50fe0da05e51e4fe8903c84371d133331;p=platform%2Fupstream%2Flibxkbcommon.git test/rmlvo-to-keymap.c: fix compilation on Darwin (#101) program_invocation_short_name isn't portable. --- 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