[Libguestfs] [PATCH 09/10] Implement "null vmchannel" - no vmchannel needed!

Jim Meyering jim at meyering.net
Tue Sep 22 08:39:59 UTC 2009


Richard W.M. Jones wrote:
...
> diff --git a/src/guestfs.c b/src/guestfs.c
> index ec7473e..60be453 100644
> --- a/src/guestfs.c
> +++ b/src/guestfs.c
> @@ -56,6 +56,14 @@
>  #include <sys/un.h>
>  #endif
>
> +#ifdef HAVE_NETINET_IN_H
> +#include <netinet/in.h>
> +#endif
> +
> +#ifdef HAVE_ARPA_INET_H
> +#include <arpa/inet.h>
> +#endif

Similarly here: if you use gnulib's arpa_inet module,
then you can drop the #ifdef




More information about the Libguestfs mailing list