[Libvir] PATCH: Remove use of polkit-grant

Richard W.M. Jones rjones at redhat.com
Mon Mar 10 11:49:18 UTC 2008


On Sun, Mar 09, 2008 at 09:02:36PM +0000, Daniel P. Berrange wrote:
> Index: src/libvirt.c
> ===================================================================
> RCS file: /data/cvs/libvirt/src/libvirt.c,v
> retrieving revision 1.125
> diff -u -p -r1.125 libvirt.c
> --- src/libvirt.c	26 Feb 2008 07:06:48 -0000	1.125
> +++ src/libvirt.c	9 Mar 2008 21:00:24 -0000
> @@ -19,6 +19,7 @@
>  #include <sys/stat.h>
>  #include <unistd.h>
>  #include <assert.h>
> +#include <sys/wait.h>

You need to defend this with '#ifdef HAVE_SYS_WAIT_H ... #endif', IIRC
because of Windows.

Apart from that, +1.

Rich.

-- 
Richard Jones, Emerging Technologies, Red Hat  http://et.redhat.com/~rjones
virt-top is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://et.redhat.com/~rjones/virt-top




More information about the libvir-list mailing list