diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2005-12-08 21:01:23 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2005-12-08 21:01:23 +0000 |
commit | 77ccb5b1dca86acdc7c75abc5bb469da41872a20 (patch) | |
tree | 13fb13805ef3018a0a12f102f72ce2c61532fde3 /libc/inet/resolv.c | |
parent | 7a3dea048d88faa3bbe1c99bcf3fdb98eabae52d (diff) |
mmap/mremap/socket/rewind gone
Diffstat (limited to 'libc/inet/resolv.c')
-rw-r--r-- | libc/inet/resolv.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libc/inet/resolv.c b/libc/inet/resolv.c index 97ed3998f..d93adede8 100644 --- a/libc/inet/resolv.c +++ b/libc/inet/resolv.c @@ -146,6 +146,8 @@ #define inet_ntop __inet_ntop #define connect __connect #define select __select +#define recv __recv +#define send __send #define __FORCE_GLIBC #include <features.h> @@ -770,9 +772,9 @@ int attribute_hidden __dns_lookup(const char *name, int type, int nscount, char #ifdef __UCLIBC_HAS_IPV6__ v6 = inet_pton(AF_INET6, dns, &sa6.sin6_addr) > 0; - fd = socket(v6 ? AF_INET6 : AF_INET, SOCK_DGRAM, IPPROTO_UDP); + fd = __socket(v6 ? AF_INET6 : AF_INET, SOCK_DGRAM, IPPROTO_UDP); #else - fd = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP); + fd = __socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP); #endif if (fd < 0) { retries++; |