summaryrefslogtreecommitdiff
path: root/libc/inet/rpc/rtime.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-12-08 21:01:23 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-12-08 21:01:23 +0000
commit77ccb5b1dca86acdc7c75abc5bb469da41872a20 (patch)
tree13fb13805ef3018a0a12f102f72ce2c61532fde3 /libc/inet/rpc/rtime.c
parent7a3dea048d88faa3bbe1c99bcf3fdb98eabae52d (diff)
mmap/mremap/socket/rewind gone
Diffstat (limited to 'libc/inet/rpc/rtime.c')
-rw-r--r--libc/inet/rpc/rtime.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libc/inet/rpc/rtime.c b/libc/inet/rpc/rtime.c
index 2e20621f9..728dbab61 100644
--- a/libc/inet/rpc/rtime.c
+++ b/libc/inet/rpc/rtime.c
@@ -44,6 +44,8 @@ static char sccsid[] = "@(#)rtime.c 2.2 88/08/10 4.0 RPCSRC; from 1.8 88/02/08 S
*/
#define connect __connect
+#define recvfrom __recvfrom
+#define sendto __sendto
#define __FORCE_GLIBC
#include <features.h>
@@ -93,7 +95,7 @@ rtime (struct sockaddr_in *addrp, struct rpc_timeval *timep,
else
type = SOCK_DGRAM;
- s = socket (AF_INET, type, 0);
+ s = __socket (AF_INET, type, 0);
if (s < 0)
return (-1);