summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAshok Sidipotu <ashok.sidipotu@collabora.com>2023-03-16 15:41:56 +0530
committerAshok Sidipotu <ashok.sidipotu@collabora.com>2023-03-29 13:20:56 +0000
commitaa1156632525720d1d6d205f1b7aad3be4161a09 (patch)
treef8cb35b66a73665b6f2a070a177a79f87b643e21 /src
parentf137c6762e9055600089bb251850f979f62aed50 (diff)
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 <ashok.sidipotu@collabora.com> Change-Id: Ib009c9ecb1828286fd83173ac5cb6ebba5c78b97
Diffstat (limited to 'src')
-rw-r--r--src/meson.build3
1 files changed, 3 insertions, 0 deletions
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'))