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 30a4d40..c9fd548 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 34b4134..a9c0b50 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"