From 48baf49987e45451e6bcd2f40b8c8736568d42fd Mon Sep 17 00:00:00 2001 From: Ashok Sidipotu Date: Thu, 16 Mar 2023 15:41:56 +0530 Subject: 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) --- src/meson.build | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') 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')) -- cgit 1.2.3-korg