From: Simon McVittie Date: Tue, 28 Jun 2022 11:41:51 +0000 (+0100) Subject: meson: Check for environ declaration X-Git-Tag: dbus-1.15.0~32^2~45 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d78d742f412aa2ce19608a782a5de2f6e1a614f4;p=thirdparty%2Fdbus.git meson: Check for environ declaration We use this in various places. Signed-off-by: Simon McVittie --- diff --git a/meson.build b/meson.build index 16dcb67e2..5a51b8082 100644 --- a/meson.build +++ b/meson.build @@ -629,6 +629,7 @@ config.set10( ''') ) +config.set10('HAVE_DECL_ENVIRON', cc.has_header_symbol('unistd.h', 'environ')) config.set10('HAVE_DECL_MSG_NOSIGNAL', cc.has_header_symbol('sys/socket.h', 'MSG_NOSIGNAL') )