audiomixer: fix compilation issue 07/28607/1 octopus 15.0.3 octopus/15.0.3 octopus_15.0.3
authorAshok Sidipotu <ashok.sidipotu@collabora.com>
Thu, 16 Mar 2023 10:11:56 +0000 (15:41 +0530)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Mon, 3 Apr 2023 13:26:20 +0000 (13:26 +0000)
Set _XOPEN_SOURCE=700 to fix the compilation error with pipewire headers.

Bug-AGL: SPEC-4732
Signed-off-by: Ashok Sidipotu <ashok.sidipotu@collabora.com>
Change-Id: Ib009c9ecb1828286fd83173ac5cb6ebba5c78b97
(cherry picked from commit aa1156632525720d1d6d205f1b7aad3be4161a09)

src/meson.build

index 282d130..b1603fc 100644 (file)
@@ -15,4 +15,7 @@ executable('agl-service-audiomixer',
            src,
            dependencies: [boost_dep, openssl_dep, thread_dep, systemd_dep, wp_dep],
            install: true,
+           c_args : [
+           '-D_XOPEN_SOURCE=700',
+           ],
            install_dir : get_option('sbindir'))