[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]