diff options
Diffstat (limited to 'lib/libc/net/inet_ntoa.c')
-rw-r--r-- | lib/libc/net/inet_ntoa.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/libc/net/inet_ntoa.c b/lib/libc/net/inet_ntoa.c index 4fdceee..c210545 100644 --- a/lib/libc/net/inet_ntoa.c +++ b/lib/libc/net/inet_ntoa.c @@ -55,3 +55,10 @@ inet_ntoa(in) (void) inet_ntop(AF_INET, &in, ret, sizeof ret); return (ret); } + +/* + * Weak aliases for applications that use certain private entry points, + * and fail to include <arpa/inet.h>. + */ +#undef inet_ntoa +__weak_reference(__inet_ntoa, inet_ntoa); |