diff options
Diffstat (limited to 'libc/inet/rpc/rtime.c')
-rw-r--r-- | libc/inet/rpc/rtime.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/libc/inet/rpc/rtime.c b/libc/inet/rpc/rtime.c index 554ad69eb..b4bbca19c 100644 --- a/libc/inet/rpc/rtime.c +++ b/libc/inet/rpc/rtime.c @@ -42,6 +42,12 @@ static char sccsid[] = "@(#)rtime.c 2.2 88/08/10 4.0 RPCSRC; from 1.8 88/02/08 S * subtract seconds before Jan 1, 1970 to get * what unix uses. */ + +#define connect __connect +#define recvfrom __recvfrom +#define sendto __sendto +#define poll __poll + #define __FORCE_GLIBC #include <features.h> @@ -90,7 +96,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); |