summaryrefslogtreecommitdiff
path: root/lib/libc/net/getnetbydns.c
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>1995-10-22 14:39:06 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>1995-10-22 14:39:06 +0000
commitfce61be7f5a48db23e3ff93cb29d6606ddcce20e (patch)
treec551465aa58fec28c7b09e0f547e4baed6d0c3bb /lib/libc/net/getnetbydns.c
parent696cbd5ff23ec9f1a71c2f534971d0135270ceaf (diff)
Notes
Diffstat (limited to 'lib/libc/net/getnetbydns.c')
-rw-r--r--lib/libc/net/getnetbydns.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/net/getnetbydns.c b/lib/libc/net/getnetbydns.c
index f0a224fd5b0c..440ebf84ba22 100644
--- a/lib/libc/net/getnetbydns.c
+++ b/lib/libc/net/getnetbydns.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: getnetbydns.c,v 1.2 1994/09/25 17:45:38 pst Exp $";
+static char rcsid[] = "$Id: getnetbydns.c,v 1.3 1995/05/30 05:40:46 rgrimes Exp $";
#endif /* LIBC_SCCS and not lint */
#include <sys/param.h>
@@ -64,6 +64,7 @@ static char rcsid[] = "$Id: getnetbydns.c,v 1.2 1994/09/25 17:45:38 pst Exp $";
#include <netdb.h>
#include <resolv.h>
#include <stdio.h>
+#include <unistd.h>
#include <ctype.h>
#include <errno.h>
#include <string.h>