2008-02-18 18:35:48

by Chuck Lever III

[permalink] [raw]
Subject: [PATCH 05/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.

Signed-off-by: Chuck Lever <[email protected]>
---

utils/mount/network.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/utils/mount/network.c b/utils/mount/network.c
index ab7f6d0..92ccc3d 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"