[PATCH] Fix in.h include in checkpoint_hdr.h

Serge E. Hallyn serue at us.ibm.com
Mon Oct 5 07:05:38 PDT 2009


Quoting Matt Helsley (matthltc at us.ibm.com):
> sys/in.h doesn't exist, at least not in the glibc headers of my Fedora or
> Ubuntu systems. Use netinet/in.h which does.
> 
> Signed-off-by: Matt Helsley <matthltc at us.ibm.com>
> Cc: Dan Smith <danms at us.ibm.com>
> Cc: containers at lists.linux-foundation.org

Yes, fixes compile for me.

Acked-by: Serge Hallyn <serue at us.ibm.com>

> ---
>  include/linux/checkpoint_hdr.h |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/include/linux/checkpoint_hdr.h b/include/linux/checkpoint_hdr.h
> index b5ce115..b5f958e 100644
> --- a/include/linux/checkpoint_hdr.h
> +++ b/include/linux/checkpoint_hdr.h
> @@ -19,7 +19,7 @@
>  #else
>  #include <sys/socket.h>
>  #include <sys/un.h>
> -#include <sys/in.h>
> +#include <netinet/in.h>
>  #endif
> 
>  /*
> -- 
> 1.5.6.3
> 
> _______________________________________________
> Containers mailing list
> Containers at lists.linux-foundation.org
> https://lists.linux-foundation.org/mailman/listinfo/containers


More information about the Containers mailing list