diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 1999-08-16 20:24:37 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 1999-08-16 20:24:37 +0000 |
commit | a0310f955892bbe62a437febec9c28d6a1a32924 (patch) | |
tree | e727c13705f47e392b07120695f825e3f77ea222 /usr.bin | |
parent | faec687fb4dba8b1e58bd4a16bb4cd197fcc8adf (diff) |
fix includes
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/whois/whois.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.bin/whois/whois.c b/usr.bin/whois/whois.c index fa0313765ad..e59c1f88a36 100644 --- a/usr.bin/whois/whois.c +++ b/usr.bin/whois/whois.c @@ -1,4 +1,4 @@ -/* $OpenBSD: whois.c,v 1.4 1998/02/24 10:09:50 deraadt Exp $ */ +/* $OpenBSD: whois.c,v 1.5 1999/08/16 20:24:36 art Exp $ */ /* $NetBSD: whois.c,v 1.5 1994/11/14 05:13:25 jtc Exp $ */ /* @@ -44,18 +44,20 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)whois.c 8.1 (Berkeley) 6/6/93"; #endif -static char rcsid[] = "$OpenBSD: whois.c,v 1.4 1998/02/24 10:09:50 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: whois.c,v 1.5 1999/08/16 20:24:36 art Exp $"; #endif /* not lint */ #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> +#include <arpa/inet.h> #include <netdb.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sysexits.h> #include <unistd.h> +#include <err.h> #define NICHOST "whois.internic.net" #define DNICHOST "nic.ddn.mil" |