Re: [PATCH v3] util: systemd: Define MSG_NOSIGNAL if needed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jul 20, 2016 at 03:46:56PM +0200, Andrea Bolognani wrote:
> 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.
> ---
> Changes from v2:
> 
>   * define MSG_NOSIGNAL to zero if not already defined
>     instead of conditionally compiling the code depending
>     on it
> 
>  src/util/virsystemd.c | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/src/util/virsystemd.c b/src/util/virsystemd.c
> index 969cd68..7d6985b 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)
>  {

ACK


Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]