[Libvir] libvirt on OS X Leopard 10.5.1
jim at meyering.net
Tue Jan 22 12:42:49 UTC 2008
"Richard W.M. Jones" <rjones at redhat.com> wrote:
> Attached is as far as I got over the weekend.
> As you can see the main problems (apart from the lack of hyper which
> is a showstopper) are:
> * Minor header tweaks
> Index: src/sexpr.c
> RCS file: /data/cvs/libvirt/src/sexpr.c,v
> retrieving revision 1.12
> diff -u -r1.12 sexpr.c
> --- src/sexpr.c 21 Jan 2008 14:22:15 -0000 1.12
> +++ src/sexpr.c 22 Jan 2008 12:24:37 -0000
> @@ -13,7 +13,7 @@
> #include "config.h"
> #include <stdio.h>
> -#include <malloc.h>
> +#include <stdlib.h>
That one looks like an improvement, regardless.
If you're removing <malloc.h> there, I'll bet it makes sense to
do the same to the only other use, which is in xend_internal.c.
It already includes <stdlib.h>.
More information about the libvir-list