diff --git a/src/NoteTrack.h b/src/NoteTrack.h index 6034c3cc8..cb6fbc18e 100644 --- a/src/NoteTrack.h +++ b/src/NoteTrack.h @@ -15,10 +15,11 @@ #include "Audacity.h" #include "Experimental.h" #include "Track.h" -#include "allegro.h" #if defined(USE_MIDI) +#include "allegro.h" + // define this switch to play MIDI during redisplay to sonify run times // Note that if SONIFY is defined, the default MIDI device will be opened // and may block normal MIDI playback.