summaryrefslogtreecommitdiff
path: root/libc/inet/rpc
diff options
context:
space:
mode:
Diffstat (limited to 'libc/inet/rpc')
-rw-r--r--libc/inet/rpc/rcmd.c2
-rw-r--r--libc/inet/rpc/rexec.c2
-rw-r--r--libc/inet/rpc/svc_tcp.c2
-rw-r--r--libc/inet/rpc/svc_unix.c2
4 files changed, 8 insertions, 0 deletions
diff --git a/libc/inet/rpc/rcmd.c b/libc/inet/rpc/rcmd.c
index 3837aed8d..bd459826a 100644
--- a/libc/inet/rpc/rcmd.c
+++ b/libc/inet/rpc/rcmd.c
@@ -53,6 +53,8 @@ static char sccsid[] = "@(#)rcmd.c 8.3 (Berkeley) 3/26/94";
#define sigblock __sigblock
#define snprintf __snprintf
#define poll __poll
+#define accept __accept
+#define listen __listen
#define __FORCE_GLIBC
#include <features.h>
diff --git a/libc/inet/rpc/rexec.c b/libc/inet/rpc/rexec.c
index 771f85a6b..239e87fb0 100644
--- a/libc/inet/rpc/rexec.c
+++ b/libc/inet/rpc/rexec.c
@@ -35,6 +35,8 @@
#define atoi __atoi
#define connect __connect
#define snprintf __snprintf
+#define accept __accept
+#define listen __listen
#define __FORCE_GLIBC
#include <features.h>
diff --git a/libc/inet/rpc/svc_tcp.c b/libc/inet/rpc/svc_tcp.c
index 6a25d7c42..1972bcf99 100644
--- a/libc/inet/rpc/svc_tcp.c
+++ b/libc/inet/rpc/svc_tcp.c
@@ -53,6 +53,8 @@ static char sccsid[] = "@(#)svc_tcp.c 1.21 87/08/11 Copyr 1984 Sun Micro";
#define bind __bind
#define bindresvport __bindresvport
#define poll __poll
+#define accept __accept
+#define listen __listen
#define __FORCE_GLIBC
#define _GNU_SOURCE
diff --git a/libc/inet/rpc/svc_unix.c b/libc/inet/rpc/svc_unix.c
index 33ea5cf40..95a65ad1f 100644
--- a/libc/inet/rpc/svc_unix.c
+++ b/libc/inet/rpc/svc_unix.c
@@ -53,6 +53,8 @@
#define recvmsg __recvmsg
#define sendmsg __sendmsg
#define poll __poll
+#define accept __accept
+#define listen __listen
#define __FORCE_GLIBC
#include <features.h>