Required for using strlen, memcpy, etc. Apparently implicitly pulled so far. --- daemon/hotplug.c | 1 + daemon/ldm.c | 1 + daemon/mktemp.c | 1 + daemon/utsname.c | 1 + generator/c.ml | 1 + src/create.c | 1 + src/file.c | 1 + src/fuse.c | 1 + src/info.c | 1 + src/launch-direct.c | 1 + src/launch-libvirt.c | 1 + src/launch-unix.c | 1 + src/libvirt-auth.c | 1 + src/libvirt-domain.c | 1 + 14 files changed, 14 insertions(+)
diff --git a/daemon/hotplug.c b/daemon/hotplug.c index 7ff4ced..2f159c6 100644 --- a/daemon/hotplug.c +++ b/daemon/hotplug.c @@ -23,6 +23,7 @@ #include <unistd.h> #include <errno.h> #include <time.h> +#include <string.h> #include "guestfs_protocol.h" #include "daemon.h" diff --git a/daemon/ldm.c b/daemon/ldm.c index aad7f78..3563313 100644 --- a/daemon/ldm.c +++ b/daemon/ldm.c @@ -24,6 +24,7 @@ #include <sys/types.h> #include <sys/stat.h> #include <glob.h> +#include <string.h> #if HAVE_YAJL #include <yajl/yajl_tree.h> diff --git a/daemon/mktemp.c b/daemon/mktemp.c index cacb48d..39231ad 100644 --- a/daemon/mktemp.c +++ b/daemon/mktemp.c @@ -21,6 +21,7 @@ #include <stdio.h> #include <stdlib.h> +#include <string.h> #include "guestfs_protocol.h" #include "daemon.h" diff --git a/daemon/utsname.c b/daemon/utsname.c index dc49226..17a82c3 100644 --- a/daemon/utsname.c +++ b/daemon/utsname.c @@ -21,6 +21,7 @@ #include <stdio.h> #include <stdlib.h> #include <sys/utsname.h> +#include <string.h> #include "guestfs_protocol.h" #include "daemon.h" diff --git a/generator/c.ml b/generator/c.ml index 1fa05ab..9e17d32 100644 --- a/generator/c.ml +++ b/generator/c.ml @@ -1221,6 +1221,7 @@ and generate_client_actions hash () = #include <inttypes.h> #include <sys/types.h> #include <sys/stat.h> +#include <string.h> #include \"guestfs.h\" #include \"guestfs-internal.h\" diff --git a/src/create.c b/src/create.c index 0cfe6be..621ace5 100644 --- a/src/create.c +++ b/src/create.c @@ -29,6 +29,7 @@ #include <sys/wait.h> #include <sys/ioctl.h> #include <errno.h> +#include <string.h> #ifdef HAVE_LINUX_FS_H #include <linux/fs.h> diff --git a/src/file.c b/src/file.c index 91f7947..6a58bfe 100644 --- a/src/file.c +++ b/src/file.c @@ -26,6 +26,7 @@ #include <unistd.h> #include <sys/types.h> #include <sys/stat.h> +#include <string.h> #include "full-read.h" #include "full-write.h" diff --git a/src/fuse.c b/src/fuse.c index 08a8784..258a863 100644 --- a/src/fuse.c +++ b/src/fuse.c @@ -24,6 +24,7 @@ #include <errno.h> #include <sys/types.h> #include <sys/wait.h> +#include <string.h> #if HAVE_FUSE /* See <attr/xattr.h> */ diff --git a/src/info.c b/src/info.c index 175c503..1bc079a 100644 --- a/src/info.c +++ b/src/info.c @@ -29,6 +29,7 @@ #include <sys/stat.h> #include <sys/wait.h> #include <assert.h> +#include <string.h> #if HAVE_YAJL #include <yajl/yajl_tree.h> diff --git a/src/launch-direct.c b/src/launch-direct.c index 5301176..021df94 100644 --- a/src/launch-direct.c +++ b/src/launch-direct.c @@ -34,6 +34,7 @@ #include <sys/un.h> #include <grp.h> #include <assert.h> +#include <string.h> #include <pcre.h> diff --git a/src/launch-libvirt.c b/src/launch-libvirt.c index f8f818a..7206b33 100644 --- a/src/launch-libvirt.c +++ b/src/launch-libvirt.c @@ -30,6 +30,7 @@ #include <sys/stat.h> #include <sys/wait.h> #include <assert.h> +#include <string.h> #ifdef HAVE_LIBVIRT #include <libvirt/libvirt.h> diff --git a/src/launch-unix.c b/src/launch-unix.c index 489a046..c5e4438 100644 --- a/src/launch-unix.c +++ b/src/launch-unix.c @@ -24,6 +24,7 @@ #include <fcntl.h> #include <sys/socket.h> #include <sys/un.h> +#include <string.h> #include "guestfs.h" #include "guestfs-internal.h" diff --git a/src/libvirt-auth.c b/src/libvirt-auth.c index f8ed1b1..1eeac75 100644 --- a/src/libvirt-auth.c +++ b/src/libvirt-auth.c @@ -21,6 +21,7 @@ #include <stdio.h> #include <stdlib.h> #include <stdbool.h> +#include <string.h> #ifdef HAVE_LIBVIRT #include <libvirt/libvirt.h> diff --git a/src/libvirt-domain.c b/src/libvirt-domain.c index 7e0a0d9..59bb4bc 100644 --- a/src/libvirt-domain.c +++ b/src/libvirt-domain.c @@ -22,6 +22,7 @@ #include <stdlib.h> #include <stdbool.h> #include <assert.h> +#include <string.h> #ifdef HAVE_LIBVIRT #include <libvirt/libvirt.h> -- 1.9.3 _______________________________________________ Libguestfs mailing list [email protected] https://www.redhat.com/mailman/listinfo/libguestfs
