summaryrefslogtreecommitdiffstats
path: root/lib/libc/net/gethostbydns.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1995-10-22 14:39:06 +0000
committerphk <phk@FreeBSD.org>1995-10-22 14:39:06 +0000
commit4be9bcf742cae0887e6a357faf90273b56da27e4 (patch)
treec551465aa58fec28c7b09e0f547e4baed6d0c3bb /lib/libc/net/gethostbydns.c
parent8c71abfa80ba24879db77bd17adac5bc08d55b08 (diff)
downloadFreeBSD-src-4be9bcf742cae0887e6a357faf90273b56da27e4.zip
FreeBSD-src-4be9bcf742cae0887e6a357faf90273b56da27e4.tar.gz
As above.
Diffstat (limited to 'lib/libc/net/gethostbydns.c')
-rw-r--r--lib/libc/net/gethostbydns.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/net/gethostbydns.c b/lib/libc/net/gethostbydns.c
index 621f3c7..7b1e2d6 100644
--- a/lib/libc/net/gethostbydns.c
+++ b/lib/libc/net/gethostbydns.c
@@ -53,7 +53,7 @@
#if defined(LIBC_SCCS) && !defined(lint)
static char sccsid[] = "@(#)gethostnamadr.c 8.1 (Berkeley) 6/4/93";
-static char rcsid[] = "$Id: gethostbydns.c,v 1.5 1995/08/20 20:02:37 peter Exp $";
+static char rcsid[] = "$Id: gethostbydns.c,v 1.6 1995/08/21 09:15:32 bde Exp $";
#endif /* LIBC_SCCS and not lint */
#include <sys/param.h>
@@ -63,6 +63,7 @@ static char rcsid[] = "$Id: gethostbydns.c,v 1.5 1995/08/20 20:02:37 peter Exp $
#include <arpa/nameser.h>
#include <stdio.h>
+#include <unistd.h>
#include <string.h>
#include <netdb.h>
#include <resolv.h>
OpenPOWER on IntegriCloud