From 77ccb5b1dca86acdc7c75abc5bb469da41872a20 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Thu, 8 Dec 2005 21:01:23 +0000 Subject: mmap/mremap/socket/rewind gone --- libc/inet/rpc/svc_unix.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libc/inet/rpc/svc_unix.c') diff --git a/libc/inet/rpc/svc_unix.c b/libc/inet/rpc/svc_unix.c index 8b1e8b2d5..ed40146eb 100644 --- a/libc/inet/rpc/svc_unix.c +++ b/libc/inet/rpc/svc_unix.c @@ -50,6 +50,8 @@ #define getsockname __getsockname #define setsockopt __setsockopt #define bind __bind +#define recvmsg __recvmsg +#define sendmsg __sendmsg #define __FORCE_GLIBC #include @@ -161,7 +163,7 @@ svcunix_create (int sock, u_int sendsize, u_int recvsize, char *path) if (sock == RPC_ANYSOCK) { - if ((sock = socket (AF_UNIX, SOCK_STREAM, 0)) < 0) + if ((sock = __socket (AF_UNIX, SOCK_STREAM, 0)) < 0) { __perror (_("svc_unix.c - AF_UNIX socket creation problem")); return (SVCXPRT *) NULL; -- cgit v1.2.3