summaryrefslogtreecommitdiffstats
path: root/freebsd/lib/libc/inet/inet_net_ntop.c
diff options
context:
space:
mode:
Diffstat (limited to 'freebsd/lib/libc/inet/inet_net_ntop.c')
-rw-r--r--freebsd/lib/libc/inet/inet_net_ntop.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/freebsd/lib/libc/inet/inet_net_ntop.c b/freebsd/lib/libc/inet/inet_net_ntop.c
index 31c04aba..48b1fd07 100644
--- a/freebsd/lib/libc/inet/inet_net_ntop.c
+++ b/freebsd/lib/libc/inet/inet_net_ntop.c
@@ -271,11 +271,13 @@ emsgsize:
return (NULL);
}
+#ifndef __rtems__
/*
* Weak aliases for applications that use certain private entry points,
* and fail to include <arpa/inet.h>.
*/
#undef inet_net_ntop
__weak_reference(__inet_net_ntop, inet_net_ntop);
+#endif /* __rtems__ */
/*! \file */