diff --git a/libraries/lib-note-track/MIDIPlay.cpp b/libraries/lib-note-track/MIDIPlay.cpp index 4c430e3af..6226b5fd8 100644 --- a/libraries/lib-note-track/MIDIPlay.cpp +++ b/libraries/lib-note-track/MIDIPlay.cpp @@ -485,7 +485,7 @@ static double streamStartTime = 0; // bias system time to small number static double SystemTime(bool usingAlsa) { -#ifdef __WXGTK__ +#if defined(__WXGTK__) && !defined(__HAIKU__) if (usingAlsa) { struct timespec now; // CLOCK_MONOTONIC_RAW is unaffected by NTP or adj-time