diff options
Diffstat (limited to 'libbb/inet_common.c')
-rw-r--r-- | libbb/inet_common.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libbb/inet_common.c b/libbb/inet_common.c index c7bf409c4..52fd1349e 100644 --- a/libbb/inet_common.c +++ b/libbb/inet_common.c | |||
@@ -4,7 +4,7 @@ | |||
4 | * | 4 | * |
5 | * Heavily modified by Manuel Novoa III Mar 12, 2001 | 5 | * Heavily modified by Manuel Novoa III Mar 12, 2001 |
6 | * | 6 | * |
7 | * Version: $Id: inet_common.c,v 1.3 2002/07/03 11:46:36 andersen Exp $ | 7 | * Version: $Id: inet_common.c,v 1.4 2002/11/26 02:35:15 bug1 Exp $ |
8 | * | 8 | * |
9 | */ | 9 | */ |
10 | 10 | ||
@@ -17,7 +17,7 @@ | |||
17 | #include "libbb.h" | 17 | #include "libbb.h" |
18 | 18 | ||
19 | #ifdef DEBUG | 19 | #ifdef DEBUG |
20 | #include <resolv.h> | 20 | # include <resolv.h> |
21 | #endif | 21 | #endif |
22 | 22 | ||
23 | 23 | ||
@@ -178,7 +178,7 @@ int INET_rresolve(char *name, size_t len, struct sockaddr_in *s_in, | |||
178 | return (0); | 178 | return (0); |
179 | } | 179 | } |
180 | 180 | ||
181 | #if CONFIG_FEATURE_IPV6 | 181 | #ifdef CONFIG_FEATURE_IPV6 |
182 | 182 | ||
183 | int INET6_resolve(char *name, struct sockaddr_in6 *sin6) | 183 | int INET6_resolve(char *name, struct sockaddr_in6 *sin6) |
184 | { | 184 | { |
@@ -199,7 +199,7 @@ int INET6_resolve(char *name, struct sockaddr_in6 *sin6) | |||
199 | } | 199 | } |
200 | 200 | ||
201 | #ifndef IN6_IS_ADDR_UNSPECIFIED | 201 | #ifndef IN6_IS_ADDR_UNSPECIFIED |
202 | #define IN6_IS_ADDR_UNSPECIFIED(a) \ | 202 | # define IN6_IS_ADDR_UNSPECIFIED(a) \ |
203 | (((__u32 *) (a))[0] == 0 && ((__u32 *) (a))[1] == 0 && \ | 203 | (((__u32 *) (a))[0] == 0 && ((__u32 *) (a))[1] == 0 && \ |
204 | ((__u32 *) (a))[2] == 0 && ((__u32 *) (a))[3] == 0) | 204 | ((__u32 *) (a))[2] == 0 && ((__u32 *) (a))[3] == 0) |
205 | #endif | 205 | #endif |