diff options
Diffstat (limited to 'resolv')
-rw-r--r-- | resolv/inet_addr.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/resolv/inet_addr.c b/resolv/inet_addr.c index 68659e9a04..0d3ba068d5 100644 --- a/resolv/inet_addr.c +++ b/resolv/inet_addr.c @@ -100,7 +100,10 @@ inet_aton(cp, addr) struct in_addr *addr; { register u_int32_t val; /* changed from u_long --david */ - register int base, n; +#ifndef _LIBC + register int base; +#endif + register int n; register char c; u_int32_t parts[4]; register u_int32_t *pp = parts; |