summaryrefslogtreecommitdiffstats
path: root/freebsd/lib/libc/inet/inet_neta.c
diff options
context:
space:
mode:
Diffstat (limited to 'freebsd/lib/libc/inet/inet_neta.c')
-rw-r--r--freebsd/lib/libc/inet/inet_neta.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/freebsd/lib/libc/inet/inet_neta.c b/freebsd/lib/libc/inet/inet_neta.c
index 2cab5934..aa02ec59 100644
--- a/freebsd/lib/libc/inet/inet_neta.c
+++ b/freebsd/lib/libc/inet/inet_neta.c
@@ -87,11 +87,13 @@ inet_neta(in_addr_t src, char *dst, size_t size)
return (NULL);
}
+#ifndef __rtems__
/*
* Weak aliases for applications that use certain private entry points,
* and fail to include <arpa/inet.h>.
*/
#undef inet_neta
__weak_reference(__inet_neta, inet_neta);
+#endif /* __rtems__ */
/*! \file */