Commit 44ac675a authored by Marijn Suijten's avatar Marijn Suijten 🦀
Browse files

bluetooth/native: Include util header for pa_msleep

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>
parent ca9b723a
Pipeline #429120 passed with stages
in 2 minutes and 39 seconds
......@@ -21,6 +21,8 @@
#include <config.h>
#endif
#include <pulse/util.h>
#include <pulsecore/shared.h>
#include <pulsecore/core-error.h>
#include <pulsecore/core-util.h>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment