mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
meson: Define HAVE_SYS_UN_H, this was forgotten
Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
This commit is contained in:
parent
6355071a2d
commit
c3e7262219
2 changed files with 2 additions and 5 deletions
|
|
@ -141,6 +141,7 @@ check_headers = [
|
||||||
'sys/resource.h',
|
'sys/resource.h',
|
||||||
'sys/select.h',
|
'sys/select.h',
|
||||||
'sys/socket.h',
|
'sys/socket.h',
|
||||||
|
'sys/un.h',
|
||||||
'sys/wait.h',
|
'sys/wait.h',
|
||||||
'valgrind/memcheck.h',
|
'valgrind/memcheck.h',
|
||||||
'xlocale.h',
|
'xlocale.h',
|
||||||
|
|
@ -158,11 +159,6 @@ if cc.has_header('pthread.h')
|
||||||
cdata.set('HAVE_PTHREAD', 1)
|
cdata.set('HAVE_PTHREAD', 1)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# FIXME: move this to the above set
|
|
||||||
if cc.has_header('sys/un.h')
|
|
||||||
cdata.set('HAVE_AF_UNIX', 1)
|
|
||||||
endif
|
|
||||||
|
|
||||||
# Functions
|
# Functions
|
||||||
|
|
||||||
check_functions = [
|
check_functions = [
|
||||||
|
|
|
||||||
|
|
@ -73,6 +73,7 @@ default_conf = configuration_data()
|
||||||
default_conf.merge_from(cdata)
|
default_conf.merge_from(cdata)
|
||||||
default_conf.set('PA_BINARY', cdata.get_unquoted('PA_BINARY'))
|
default_conf.set('PA_BINARY', cdata.get_unquoted('PA_BINARY'))
|
||||||
default_conf.set('PA_SOEXT', cdata.get_unquoted('PA_SOEXT'))
|
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(
|
default_template_file = configure_file(
|
||||||
input : 'default.pa.in',
|
input : 'default.pa.in',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue