summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking/libc/inet_ntop.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/libnetworking/libc/inet_ntop.c')
-rw-r--r--cpukit/libnetworking/libc/inet_ntop.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpukit/libnetworking/libc/inet_ntop.c b/cpukit/libnetworking/libc/inet_ntop.c
index b54eec714e..4ea2ee348c 100644
--- a/cpukit/libnetworking/libc/inet_ntop.c
+++ b/cpukit/libnetworking/libc/inet_ntop.c
@@ -194,11 +194,13 @@ inet_ntop6(const u_char *src, char *dst, socklen_t size)
return (dst);
}
+#ifndef __rtems__
/*
* Weak aliases for applications that use certain private entry points,
* and fail to include <arpa/inet.h>.
*/
#undef inet_ntop
__weak_reference(__inet_ntop, inet_ntop);
+#endif /* __rtems__ */
/*! \file */