audiomixer: fix compilation issue 74/28574/3
authorAshok Sidipotu <ashok.sidipotu@collabora.com>
Thu, 16 Mar 2023 10:11:56 +0000 (15:41 +0530)
committerAshok Sidipotu <ashok.sidipotu@collabora.com>
Wed, 29 Mar 2023 13:20:56 +0000 (13:20 +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

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'))