Skip to content

Commit bf51451

Browse files
committed
ci: fix on older linuxes
1 parent b8b49cd commit bf51451

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

include/libremidi/backends/alsa_seq/observer.hpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -439,8 +439,12 @@ class observer_threaded : public observer_impl<ConfigurationImpl>
439439
case SND_SEQ_EVENT_CLIENT_START:
440440
case SND_SEQ_EVENT_CLIENT_EXIT:
441441
case SND_SEQ_EVENT_CLIENT_CHANGE:
442+
443+
#if __has_include(<alsa/ump.h>)
442444
case SND_SEQ_EVENT_UMP_EP_CHANGE:
443445
case SND_SEQ_EVENT_UMP_BLOCK_CHANGE:
446+
#endif
447+
444448
case SND_SEQ_EVENT_PORT_START:
445449
case SND_SEQ_EVENT_PORT_EXIT:
446450
case SND_SEQ_EVENT_PORT_CHANGE:

0 commit comments

Comments
 (0)