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

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

 



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@xxxxxxxxxx>
Cc: Dan Smith <danms@xxxxxxxxxx>
Cc: containers@xxxxxxxxxxxxxxxxxxxxxxxxxx
---
 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@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/containers

[Index of Archives]     [Cgroups]     [Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux