[Libguestfs] [PATCH 2/6] daemon: Missing #includes revealed by cross-compiling.

Richard W.M. Jones rjones at redhat.com
Fri Nov 20 11:28:33 UTC 2009


On Fri, Nov 20, 2009 at 12:25:13PM +0100, Jim Meyering wrote:
> Richard W.M. Jones wrote:
> > Subject: [PATCH 2/6] daemon: Missing #includes revealed by cross-compiling.
> 
> Looks fine and obviously safe.
> What symbols?

The two problems fixed by this are that PATH_MAX requires <limits.h>
(on Win32 anyhow), and that various str* and mem* functions were being
used without including <string.h> (probably works because this is
implicitly included from another header file).

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-p2v converts physical machines to virtual machines.  Boot with a
live CD or over the network (PXE) and turn machines into Xen guests.
http://et.redhat.com/~rjones/virt-p2v




More information about the Libguestfs mailing list