diff options
author | 1997-07-09 01:08:14 +0000 | |
---|---|---|
committer | 1997-07-09 01:08:14 +0000 | |
commit | 58720cefabfdfa87eea4aa3b9f9187c6b282ab9f (patch) | |
tree | f182293e2f80c91fed9603a2876cad00234e937b /lib/libc/net/res_query.c | |
parent | #include <netgroup.h> (diff) | |
download | wireguard-openbsd-58720cefabfdfa87eea4aa3b9f9187c6b282ab9f.tar.xz wireguard-openbsd-58720cefabfdfa87eea4aa3b9f9187c6b282ab9f.zip |
Clean up some -Wall flowers.
Diffstat (limited to 'lib/libc/net/res_query.c')
-rw-r--r-- | lib/libc/net/res_query.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libc/net/res_query.c b/lib/libc/net/res_query.c index 4f3665f2765..2e245b78cc6 100644 --- a/lib/libc/net/res_query.c +++ b/lib/libc/net/res_query.c @@ -1,4 +1,4 @@ -/* $OpenBSD: res_query.c,v 1.9 1997/04/06 07:55:04 deraadt Exp $ */ +/* $OpenBSD: res_query.c,v 1.10 1997/07/09 01:08:53 millert Exp $ */ /* * ++Copyright++ 1988, 1993 @@ -60,7 +60,7 @@ static char sccsid[] = "@(#)res_query.c 8.1 (Berkeley) 6/4/93"; static char rcsid[] = "$From: res_query.c,v 8.9 1996/09/22 00:13:28 vixie Exp $"; #else -static char rcsid[] = "$OpenBSD: res_query.c,v 1.9 1997/04/06 07:55:04 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: res_query.c,v 1.10 1997/07/09 01:08:53 millert Exp $"; #endif #endif /* LIBC_SCCS and not lint */ @@ -77,6 +77,7 @@ static char rcsid[] = "$OpenBSD: res_query.c,v 1.9 1997/04/06 07:55:04 deraadt E #include <errno.h> #include <stdlib.h> #include <string.h> +#include <unistd.h> #if PACKETSZ > 1024 #define MAXPACKET PACKETSZ |