Silence warnings in MSVC++: hide unused variables, add constness back to
inet_pton/ntop, convert htons argument to u_short.
diff --git a/Modules/getnameinfo.c b/Modules/getnameinfo.c
index 33d6ad3..475b531 100644
--- a/Modules/getnameinfo.c
+++ b/Modules/getnameinfo.c
@@ -98,7 +98,9 @@
 	int family, len, i;
 	char *addr, *p;
 	u_long v4a;
+#ifdef INET6
 	u_char pfx;
+#endif
 	int h_error;
 	char numserv[512];
 	char numaddr[512];