mount command: Add headers needed for IPv6 support
Subsystems (2)
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.
Signed-off-by Chuck Lever <[email protected]>
---
utils/mount/network.c | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-)
utils/mount/network.c +4 -1
@@ -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"