Skip to contentSkip to conversation

mount command: Add headers needed for IPv6 support

PATCH New Chuck Lever 1 participant 1 message Feb 18, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 5/17 mount command: Add headers needed for IPv6 support

Add #include directives for additional header files needed to support IPv6 networking in util/mount/network.c. We do this as a separate patch so we can reorder the subsequent patches without collision.

---

 utils/mount/network.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
utils/mount/network.c +4 -1
index ab7f6d0..92ccc3d 100644
@@ -33,10 +33,13 @@
 #include <errno.h>
 #include <netdb.h>
 #include <time.h>
+
+#include <sys/types.h>
+#include <sys/socket.h>
+#include <netinet/in.h>
 #include <rpc/rpc.h>
 #include <rpc/pmap_prot.h>
 #include <rpc/pmap_clnt.h>
-#include <sys/socket.h>
 
 #include "xcommon.h"
 #include "mount.h"