about summary refs log tree commit diff
path: root/resolv/resolv.h
diff options
context:
space:
mode:
Diffstat (limited to 'resolv/resolv.h')
-rw-r--r--resolv/resolv.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/resolv/resolv.h b/resolv/resolv.h
index c7374b8bfc..4f505a2199 100644
--- a/resolv/resolv.h
+++ b/resolv/resolv.h
@@ -163,7 +163,12 @@ struct __res_state {
 			u_int16_t		nscount;
 			u_int16_t		nstimes[MAXNS];	/* ms. */
 			int			nssocks[MAXNS];
+#ifdef _LIBC
+			u_int16_t		nscount6;
+			struct sockaddr_in6	*nsaddrs[MAXNS];
+#else
 			struct __sockaddr_in	nsaddrs[MAXNS];
+#endif
 		} _ext;
 	} _u;
 };