meson: Check for LOG_PERROR

We use this when writing to the system log.

Signed-off-by: Simon McVittie <smcv@collabora.com>
This commit is contained in:
Simon McVittie 2022-06-28 12:42:09 +01:00
parent d78d742f41
commit 17e12ccfb0

View file

@ -630,6 +630,9 @@ config.set10(
)
config.set10('HAVE_DECL_ENVIRON', cc.has_header_symbol('unistd.h', 'environ'))
config.set10('HAVE_DECL_LOG_PERROR',
cc.has_header_symbol('syslog.h', 'LOG_PERROR')
)
config.set10('HAVE_DECL_MSG_NOSIGNAL',
cc.has_header_symbol('sys/socket.h', 'MSG_NOSIGNAL')
)