mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-31 18:15:25 +00:00
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:
parent
e7093b391d
commit
cabae63194
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user