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

Matt Helsley matthltc at us.ibm.com
Fri Oct 2 20:19:08 PDT 2009


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
---
 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 Devel mailing list