summaryrefslogtreecommitdiffstats
path: root/freebsd/lib/libc/inet/inet_ntop.c
diff options
context:
space:
mode:
Diffstat (limited to 'freebsd/lib/libc/inet/inet_ntop.c')
-rw-r--r--freebsd/lib/libc/inet/inet_ntop.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/freebsd/lib/libc/inet/inet_ntop.c b/freebsd/lib/libc/inet/inet_ntop.c
index 0387a14f..be2aabe2 100644
--- a/freebsd/lib/libc/inet/inet_ntop.c
+++ b/freebsd/lib/libc/inet/inet_ntop.c
@@ -196,11 +196,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 */