[pulseaudio-commits] [Git][pulseaudio/pulseaudio][master] macos: Add missing import statement

Tanu Kaskinen gitlab at gitlab.freedesktop.org
Mon Sep 28 12:53:42 UTC 2020



Tanu Kaskinen pushed to branch master at PulseAudio / pulseaudio


Commits:
0050e586 by Ralph Seichter at 2020-09-28T15:44:38+03:00
macos: Add missing import statement

Add missing import of util.h. This fixes a build failure with the
Xcode 12 command line tools which manifests as follows:

  error: implicit declaration of function 'pa_thread_make_realtime'
  is invalid in C99 [-Werror,-Wimplicit-function-declaration]

Ref https://trac.macports.org/ticket/61107

- - - - -


1 changed file:

- src/modules/macosx/module-coreaudio-device.c


Changes:

=====================================
src/modules/macosx/module-coreaudio-device.c
=====================================
@@ -27,6 +27,7 @@
 #include <config.h>
 #endif
 
+#include <pulse/util.h>
 #include <pulse/xmalloc.h>
 
 #include <pulsecore/sink.h>



View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/commit/0050e5863a9a796b8bfe0dbd810e6c244b1c8e34

-- 
View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/commit/0050e5863a9a796b8bfe0dbd810e6c244b1c8e34
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/20200928/abf20529/attachment.htm>


More information about the pulseaudio-commits mailing list