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 <perex@perex.cz>
This commit is contained in:
Jaroslav Kysela 2025-02-02 19:18:25 +01:00
parent a7de48692f
commit c8bc54a9ca

View file

@ -45,10 +45,11 @@
#include <errno.h>
#include <string.h>
#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;