diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2008-07-15 13:23:58 -0400 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2008-07-15 13:23:58 -0400 |
commit | 0ff226cb9dc9382c5215368a03a5bd3a69ee287a (patch) | |
tree | 108662d98f002a85461897584f52083abc276e76 | |
parent | 20db952fc211b3444d83049f2d127da4f3ca6989 (diff) | |
download | nfs-utils-0ff226cb9dc9382c5215368a03a5bd3a69ee287a.tar.gz nfs-utils-0ff226cb9dc9382c5215368a03a5bd3a69ee287a.tar.xz nfs-utils-0ff226cb9dc9382c5215368a03a5bd3a69ee287a.zip |
Add #include directives for additional header files needed to support IPv6
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>
-rw-r--r-- | utils/mount/network.c | 5 | ||||
-rw-r--r-- | utils/mount/stropts.c | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/utils/mount/network.c b/utils/mount/network.c index 30a4d40..c9fd548 100644 --- a/utils/mount/network.c +++ b/utils/mount/network.c @@ -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" diff --git a/utils/mount/stropts.c b/utils/mount/stropts.c index 34b4134..a9c0b50 100644 --- a/utils/mount/stropts.c +++ b/utils/mount/stropts.c @@ -33,8 +33,11 @@ #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" |