1 /* This file uses the getaddrinfo code but it compiles it without NSCD
2 support. We just need a few symbol renames. */
3 #define __getservbyname_r getservbyname_r
4 #define __inet_aton inet_aton
5 #define __getsockname getsockname
6 #define __socket socket
7 #define __recvmsg recvmsg
9 #define __sendto sendto
10 #define __strchrnul strchrnul
12 #include <getaddrinfo.c>
17 # include <libidn/idn-stub.c>
20 /* Some variables normally defined in libc. */
21 service_user
*__nss_hosts_database
;
23 #if defined NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0
24 int __no_netlink_support attribute_hidden
;