From: Jaroslav Kysela Date: Sun, 2 Feb 2025 18:18:25 +0000 (+0100) Subject: test/playmidi1: fix compilation caused by conflict between midifile.h and ump_msg.h X-Git-Tag: v1.2.14~32 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=c8bc54a9cae3d5080dc7a298aee573b10f2bbf62;p=alsa-lib.git test/playmidi1: fix compilation caused by conflict between midifile.h and ump_msg.h It's a fast fix. The better way is to fix midifile.h or remote this example (we have already some Closes: https://github.com/alsa-project/alsa-lib/issues/436 Signed-off-by: Jaroslav Kysela --- diff --git a/test/playmidi1.c b/test/playmidi1.c index 831e9578..286aaa86 100644 --- a/test/playmidi1.c +++ b/test/playmidi1.c @@ -45,10 +45,11 @@ #include #include +#include "../include/asoundlib.h" + #include "midifile.h" /* SMF library header */ #include "midifile.c" /* SMF library code */ -#include "../include/asoundlib.h" /* send the real-time time stamps (instead of midi ticks) to the ALSA sequencer */ static int use_realtime = 0;