Skip to contentSkip to conversation

Fix in.h include in checkpoint_hdr.h

PATCH In review Matt Helsley 3 participants 3 messages Oct 3, 2009 – Oct 5, 2009 2 messages not in the archive

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix in.h include in checkpoint_hdr.h

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.

Cc Dan Smith <danms-r/[email protected]>
Cc containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org
---
 include/linux/checkpoint_hdr.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
include/linux/checkpoint_hdr.h +1 -1
index b5ce115..b5f958e 100644
@@ -19,7 +19,7 @@
 #else
 #include <sys/socket.h>
 #include <sys/un.h>
-#include <sys/in.h>
+#include <netinet/in.h>
 #endif
 
 /*
Signature · 1 line
1.5.6.3

A message that is not in the archive (sent off-list or not yet received): 1254539948-478-1-git-send-email-matthltc-r/[email protected]

#2 lore raw
Quoted 6 lines · Matt Helsley

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.

Cc Dan Smith <danms-r/[email protected]>
Cc containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org

Yes, fixes compile for me.

Quoted 24 lines
---
 include/linux/checkpoint_hdr.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
include/linux/checkpoint_hdr.h +1 -1
index b5ce115..b5f958e 100644
@@ -19,7 +19,7 @@
 #else
 #include <sys/socket.h>
 #include <sys/un.h>
-#include <sys/in.h>
+#include <netinet/in.h>
 #endif
 
 /*
Signature · 6 lines
1.5.6.3

_______________________________________________
Containers mailing list
Containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org
https://lists.linux-foundation.org/mailman/listinfo/containers

A message that is not in the archive (sent off-list or not yet received): 20091005140538.GA9988-r/[email protected]

#4 lore raw

Pulled, thanks.

Quoted 36 lines · Serge E. Hallyn
Quoted 6 lines · Matt Helsley

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.

Cc Dan Smith <danms-r/[email protected]>
Cc containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org

Yes, fixes compile for me.

Quoted 24 lines
---
 include/linux/checkpoint_hdr.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
include/linux/checkpoint_hdr.h +1 -1
index b5ce115..b5f958e 100644
@@ -19,7 +19,7 @@
 #else
 #include <sys/socket.h>
 #include <sys/un.h>
-#include <sys/in.h>
+#include <netinet/in.h>
 #endif
 
 /*
Signature · 6 lines
1.5.6.3

_______________________________________________
Containers mailing list
Containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org
https://lists.linux-foundation.org/mailman/listinfo/containers