On Tuesday 29 September 2015 22:06:10 Richard W.M. Jones wrote: > --- > generator/c.ml | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/generator/c.ml b/generator/c.ml > index 055b683..963cf21 100644 > --- a/generator/c.ml > +++ b/generator/c.ml > @@ -1213,9 +1213,7 @@ and generate_client_actions hash () = > #include <stdlib.h> > #include <stdint.h> > #include <inttypes.h> > -#include <sys/types.h> > #include <sys/stat.h> > -#include <string.h>
See 78b27cc0b64a3e7b72602fc05102968b34fe529d about this. At least memset is used all around in the actions-N.c generated by this function, so IMHO string.h is justified here (apparently something pulls it implicitly on Linux with GNU libc, but not so on other libc's). -- Pino Toscano
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Libguestfs mailing list [email protected] https://www.redhat.com/mailman/listinfo/libguestfs
