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/rpc/pmap_rmt.c | |
parent | 7a3dea048d88faa3bbe1c99bcf3fdb98eabae52d (diff) |
mmap/mremap/socket/rewind gone
Diffstat (limited to 'libc/inet/rpc/pmap_rmt.c')
-rw-r--r-- | libc/inet/rpc/pmap_rmt.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libc/inet/rpc/pmap_rmt.c b/libc/inet/rpc/pmap_rmt.c index 2a814795a..60821ec6c 100644 --- a/libc/inet/rpc/pmap_rmt.c +++ b/libc/inet/rpc/pmap_rmt.c @@ -49,6 +49,8 @@ static char sccsid[] = "@(#)pmap_rmt.c 1.21 87/08/27 Copyr 1984 Sun Micro"; #define inet_netof __inet_netof #define clntudp_create __clntudp_create #define setsockopt __setsockopt +#define recvfrom __recvfrom +#define sendto __sendto #define __FORCE_GLIBC #include <features.h> @@ -274,7 +276,7 @@ clnt_broadcast (prog, vers, proc, xargs, argsp, xresults, resultsp, eachresult) * initialization: create a socket, a broadcast address, and * preserialize the arguments into a send buffer. */ - if ((sock = socket (AF_INET, SOCK_DGRAM, IPPROTO_UDP)) < 0) + if ((sock = __socket (AF_INET, SOCK_DGRAM, IPPROTO_UDP)) < 0) { __perror (_("Cannot create socket for broadcast rpc")); stat = RPC_CANTSEND; |