[pulseaudio-commits] [Git][pulseaudio/pulseaudio][master] bluetooth/native: Include util header for pa_msleep
PulseAudio Marge Bot (@pulseaudio-merge-bot)
gitlab at gitlab.freedesktop.org
Fri Oct 22 05:48:54 UTC 2021
PulseAudio Marge Bot pushed to branch master at PulseAudio / pulseaudio
Commits:
44ac675a by Marijn Suijten at 2021-10-22T00:24:33+02:00
bluetooth/native: Include util header for pa_msleep
Commit 7fd89e491 ("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>
- - - - -
1 changed file:
- src/modules/bluetooth/backend-native.c
Changes:
=====================================
src/modules/bluetooth/backend-native.c
=====================================
@@ -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>
View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/commit/44ac675a8b4bbd39129a01826a5251a09efcaae1
--
View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/commit/44ac675a8b4bbd39129a01826a5251a09efcaae1
You're receiving this email because of your account on gitlab.freedesktop.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-commits/attachments/20211022/124b9476/attachment.htm>
More information about the pulseaudio-commits
mailing list