aboutsummaryrefslogtreecommitdiff
path: root/lib/export/samples/sample-gai.c
diff options
context:
space:
mode:
authorErwin Lansing <erwin@FreeBSD.org>2015-10-01 07:47:44 +0000
committerErwin Lansing <erwin@FreeBSD.org>2015-10-01 07:47:44 +0000
commitff14d03521a89636be959e65a21374951fe699ba (patch)
treef50c4271d12b6939db067758ade30df93a038a91 /lib/export/samples/sample-gai.c
parentb04f5d3d3ff49c604e768add0cf35600b9eee074 (diff)
Vendor import of BIND 9.9.8vendor/bind9/9.9.8
Sponsored by: DK Hostmaster A/S
Notes
Notes: svn path=/vendor/bind9/dist/; revision=288438 svn path=/vendor/bind9/9.9.8/; revision=288439; tag=vendor/bind9/9.9.8
Diffstat (limited to 'lib/export/samples/sample-gai.c')
-rw-r--r--lib/export/samples/sample-gai.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/export/samples/sample-gai.c b/lib/export/samples/sample-gai.c
index 243d07a2f971..b214d0858170 100644
--- a/lib/export/samples/sample-gai.c
+++ b/lib/export/samples/sample-gai.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2009, 2012, 2013 Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2009, 2012, 2013, 2015 Internet Systems Consortium, Inc. ("ISC")
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@@ -27,6 +27,8 @@
#include <string.h>
#include <stdio.h>
+#include <isc/print.h>
+
static void
do_gai(int family, char *hostname) {
struct addrinfo hints, *res, *res0;