• Marijn Suijten's avatar
    bluetooth/native: Include util header for pa_msleep · 44ac675a
    Marijn Suijten authored
    Commit 7fd89e49 ("bluetooth: Try to reconnect SCO") introduces a call
    to pa_msleep but failed to include the header, resulting in a:
    
        ../pulseaudio/src/modules/bluetooth/backend-native.c: In function ‘sco_acquire_cb’:
        ../pulseaudio/src/modules/bluetooth/backend-native.c:336:17: warning: implicit declaration of function ‘pa_msleep’ [-Wimplicit-function-declaration]
          336 |                 pa_msleep(300);
              |                 ^~~~~~~~~
    
    (Un)fortunately this implicit declaration gets resolved at link-time,
    otherwise the issue would have been caught sooner.
    
    Fixes: 7fd89e49 ("bluetooth: Try to reconnect SCO")
    Part-of: <pulseaudio/pulseaudio!651>
    44ac675a