mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
bluetooth/native: Include util header for pa_msleep
Commit7fd89e491("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:7fd89e491("bluetooth: Try to reconnect SCO") Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/651>
This commit is contained in:
parent
ca9b723afa
commit
44ac675a8b
1 changed files with 2 additions and 0 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue