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