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.
This commit is contained in:
Andrea Bolognani 2016-07-20 15:46:56 +02:00 committed by Roman Bogorodskiy
parent e7093b391d
commit cabae63194

View File

@ -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)
{