From 0ba6f08f0a22eaded1298a3c5bb1a5e1fd63d883 Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Mon, 27 Dec 1999 08:40:40 +0000 Subject: [PATCH] Make this compile with -Wall -Werror --- lib/libc/net/inet_addr.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/libc/net/inet_addr.c b/lib/libc/net/inet_addr.c index abfdaa51a320..312c39beb069 100644 --- a/lib/libc/net/inet_addr.c +++ b/lib/libc/net/inet_addr.c @@ -66,6 +66,7 @@ static char rcsid[] = "$FreeBSD$"; #include #include #include +#include /* * ASCII internet address interpretation routine. @@ -98,7 +99,7 @@ inet_aton(cp, addr) u_long val; char *c; char *endptr; - int base, gotend, n; + int gotend, n; c = (char *)cp; n = 0;