diff options
author | Denys Vlasenko | 2010-02-02 12:45:38 +0100 |
---|---|---|
committer | Denys Vlasenko | 2010-02-02 12:45:38 +0100 |
commit | bb1dcc9aab5f517d963b601289aa75508d6e088e (patch) | |
tree | 682957f7a02ac69cbe9c1adb5f22092bfd379de2 /include/inet_common.h | |
parent | 5b9b1365a086056e992e7868db8e49989fedcbaf (diff) | |
download | busybox-bb1dcc9aab5f517d963b601289aa75508d6e088e.zip busybox-bb1dcc9aab5f517d963b601289aa75508d6e088e.tar.gz |
more thorough fix for systems with strange socklen_t
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include/inet_common.h')
-rw-r--r-- | include/inet_common.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/inet_common.h b/include/inet_common.h index f4374e5..4638aa9 100644 --- a/include/inet_common.h +++ b/include/inet_common.h @@ -6,8 +6,10 @@ * Heavily modified by Manuel Novoa III Mar 12, 2001 * */ +#ifndef INET_COMMON_H +#define INET_COMMON_H 1 -#include "platform.h" +PUSH_AND_SET_FUNCTION_VISIBILITY_TO_HIDDEN /* hostfirst!=0 If we expect this to be a hostname, try hostname database first @@ -24,3 +26,7 @@ int INET6_resolve(const char *name, struct sockaddr_in6 *sin6) FAST_FUNC; /* These return malloced string */ char *INET_rresolve(struct sockaddr_in *s_in, int numeric, uint32_t netmask) FAST_FUNC; char *INET6_rresolve(struct sockaddr_in6 *sin6, int numeric) FAST_FUNC; + +POP_SAVED_FUNCTION_VISIBILITY + +#endif |