summaryrefslogtreecommitdiff
path: root/drivers/alsamidi/midi_driver_alsamidi.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/alsamidi/midi_driver_alsamidi.h')
-rw-r--r--drivers/alsamidi/midi_driver_alsamidi.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/alsamidi/midi_driver_alsamidi.h b/drivers/alsamidi/midi_driver_alsamidi.h
index 3c6300411c..80cc96310f 100644
--- a/drivers/alsamidi/midi_driver_alsamidi.h
+++ b/drivers/alsamidi/midi_driver_alsamidi.h
@@ -39,7 +39,12 @@
#include "core/templates/safe_refcount.h"
#include "core/templates/vector.h"
+#ifdef SOWRAP_ENABLED
#include "../alsa/asound-so_wrap.h"
+#else
+#include <alsa/asoundlib.h>
+#endif
+
#include <stdio.h>
class MIDIDriverALSAMidi : public MIDIDriver {