From: Ashok Sidipotu Date: Thu, 16 Mar 2023 10:11:56 +0000 (+0530) Subject: audiomixer: fix compilation issue X-Git-Tag: 15.0.3^0 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fheads%2Foctopus;p=apps%2Fagl-service-audiomixer.git audiomixer: fix compilation issue Set _XOPEN_SOURCE=700 to fix the compilation error with pipewire headers. Bug-AGL: SPEC-4732 Signed-off-by: Ashok Sidipotu Change-Id: Ib009c9ecb1828286fd83173ac5cb6ebba5c78b97 (cherry picked from commit aa1156632525720d1d6d205f1b7aad3be4161a09) --- diff --git a/src/meson.build b/src/meson.build index 282d130..b1603fc 100644 --- a/src/meson.build +++ b/src/meson.build @@ -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'))