summaryrefslogtreecommitdiff
path: root/src/regress/lib/libc/getaddrinfo/gaitest.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/regress/lib/libc/getaddrinfo/gaitest.c')
-rw-r--r--src/regress/lib/libc/getaddrinfo/gaitest.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/regress/lib/libc/getaddrinfo/gaitest.c b/src/regress/lib/libc/getaddrinfo/gaitest.c
index 059c1aaa1a..12a4498459 100644
--- a/src/regress/lib/libc/getaddrinfo/gaitest.c
+++ b/src/regress/lib/libc/getaddrinfo/gaitest.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: gaitest.c,v 1.5 2004/06/21 21:56:19 itojun Exp $ */ 1/* $OpenBSD: gaitest.c,v 1.6 2009/06/09 18:15:08 phessler Exp $ */
2/* $NetBSD: gaitest.c,v 1.3 2002/07/05 15:47:43 itojun Exp $ */ 2/* $NetBSD: gaitest.c,v 1.3 2002/07/05 15:47:43 itojun Exp $ */
3 3
4/* 4/*
@@ -30,6 +30,13 @@
30 * SUCH DAMAGE. 30 * SUCH DAMAGE.
31 */ 31 */
32 32
33/*
34 * Please note: the order of the responses (and the regress test)
35 * is dependent on the "family" keywords in resolv.conf.
36 *
37 * This expects the default behaviour of "family inet4 inet6"
38 */
39
33#include <sys/types.h> 40#include <sys/types.h>
34#include <sys/socket.h> 41#include <sys/socket.h>
35#include <netinet/in.h> 42#include <netinet/in.h>