From: Andrea Bolognani Date: Wed, 20 Jul 2016 13:46:56 +0000 (+0200) Subject: util: systemd: Define MSG_NOSIGNAL if needed X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=cabae6319452a504cad981566235a4b297d2ac4f;p=libvirt.git util: systemd: Define MSG_NOSIGNAL if needed The symbol being missing has been reported as causing build failures on OS X. If it's not already defined, define it to zero so that it won't have any effect. --- diff --git a/src/util/virsystemd.c b/src/util/virsystemd.c index 969cd681b1..7d6985b0e3 100644 --- a/src/util/virsystemd.c +++ b/src/util/virsystemd.c @@ -41,6 +41,10 @@ VIR_LOG_INIT("util.systemd"); +#ifndef MSG_NOSIGNAL +# define MSG_NOSIGNAL 0 +#endif + static void virSystemdEscapeName(virBufferPtr buf, const char *name) {