diff options
author | peter <peter@FreeBSD.org> | 1999-12-27 08:40:40 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1999-12-27 08:40:40 +0000 |
commit | 0e302599d7ce5999caeeae7b2a0fdd9c399df508 (patch) | |
tree | f91b78c2a47a3a35c993596aaa37c6bb60ce6cc6 /lib | |
parent | 4cc0e66b67153120b20f89f22e2d9c9306c1bba3 (diff) | |
download | FreeBSD-src-0e302599d7ce5999caeeae7b2a0fdd9c399df508.zip FreeBSD-src-0e302599d7ce5999caeeae7b2a0fdd9c399df508.tar.gz |
Make this compile with -Wall -Werror
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/net/inet_addr.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/net/inet_addr.c b/lib/libc/net/inet_addr.c index abfdaa5..312c39b 100644 --- a/lib/libc/net/inet_addr.c +++ b/lib/libc/net/inet_addr.c @@ -66,6 +66,7 @@ static char rcsid[] = "$FreeBSD$"; #include <ctype.h> #include <errno.h> #include <string.h> +#include <stdlib.h> /* * 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; |