]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
Add #include directives for additional header files needed to support IPv6
authorChuck Lever <chuck.lever@oracle.com>
Tue, 15 Jul 2008 17:23:58 +0000 (13:23 -0400)
committerSteve Dickson <steved@redhat.com>
Tue, 15 Jul 2008 17:23:58 +0000 (13:23 -0400)
networking.  This is a separate patch so subsequent
patches can be reordered without collision.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
utils/mount/network.c
utils/mount/stropts.c

index 30a4d40ef78c7216e149e6cd58a0dc7685d05bfb..c9fd548c5ac47491b176cc2c73375866d34036a2 100644 (file)
 #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"
index 34b4134076cf1faa8aa7bd54e6665549338a4ca7..a9c0b504e400ae386289e546e8ca0e3a61b4e18d 100644 (file)
 #include <errno.h>
 #include <netdb.h>
 #include <time.h>
+
 #include <sys/socket.h>
 #include <sys/mount.h>
+#include <netinet/in.h>
+#include <arpa/inet.h>
 
 #include "xcommon.h"
 #include "mount.h"