meson: Define HAVE_SYS_UN_H, this was forgotten

Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
This commit is contained in:
Arnaud Rebillout 2018-10-31 18:39:40 +07:00 committed by Arun Raghavan
parent 6355071a2d
commit c3e7262219
2 changed files with 2 additions and 5 deletions

View file

@ -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 = [