Update.
[glibc.git] / nscd / gai.c
blob722c7e415d1fb13a03af011cba826508219b267f
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
8 #define __bind bind
9 #define __sendto sendto
10 #define __strchrnul strchrnul
12 #include <getaddrinfo.c>
14 /* Support code. */
15 #include <check_pf.c>
16 #ifdef HAVE_LIBIDN
17 # include <libidn/idn-stub.c>
18 #endif
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;
25 #endif