diff options
author | Arnaud Rebillout <arnaud.rebillout@collabora.com> | 2018-10-31 18:39:40 +0700 |
---|---|---|
committer | Arun Raghavan <arun@arunraghavan.net> | 2019-06-08 11:57:00 +0200 |
commit | c3e726221935632010b4cf8612dc912930e201f5 (patch) | |
tree | 12f1d8b14a6cb68abfdab60804dfd5b0afbb4009 | |
parent | 6355071a2dff4ec314bbb178fff2cecedc472860 (diff) | |
download | pulseaudio-c3e726221935632010b4cf8612dc912930e201f5.tar.gz |
meson: Define HAVE_SYS_UN_H, this was forgotten
Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
-rw-r--r-- | meson.build | 6 | ||||
-rw-r--r-- | src/daemon/meson.build | 1 |
2 files changed, 2 insertions, 5 deletions
diff --git a/meson.build b/meson.build index a1f97f2b..e681cb85 100644 --- a/meson.build +++ b/meson.build @@ -141,6 +141,7 @@ check_headers = [ 'sys/resource.h', 'sys/select.h', 'sys/socket.h', + 'sys/un.h', 'sys/wait.h', 'valgrind/memcheck.h', 'xlocale.h', @@ -158,11 +159,6 @@ if cc.has_header('pthread.h') cdata.set('HAVE_PTHREAD', 1) endif -# FIXME: move this to the above set -if cc.has_header('sys/un.h') - cdata.set('HAVE_AF_UNIX', 1) -endif - # Functions check_functions = [ diff --git a/src/daemon/meson.build b/src/daemon/meson.build index 130c67d0..5f263fb3 100644 --- a/src/daemon/meson.build +++ b/src/daemon/meson.build @@ -73,6 +73,7 @@ default_conf = configuration_data() default_conf.merge_from(cdata) default_conf.set('PA_BINARY', cdata.get_unquoted('PA_BINARY')) default_conf.set('PA_SOEXT', cdata.get_unquoted('PA_SOEXT')) +default_conf.set10('HAVE_AF_UNIX', cc.has_header('sys/un.h')) default_template_file = configure_file( input : 'default.pa.in', |