summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAshok Sidipotu <ashok.sidipotu@collabora.com>2023-03-16 15:41:56 +0530
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2023-04-03 13:26:20 +0000
commit48baf49987e45451e6bcd2f40b8c8736568d42fd (patch)
tree05ec66e956e853937f70cc6fdb0fe179b591650a
parente73284bfc0bc1d85cf3704efc801612a9c6162fc (diff)
audiomixer: fix compilation issueoctopus_15.0.3octopus/15.0.315.0.3octopus
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)
-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'))