summaryrefslogtreecommitdiff
path: root/libc/inet/rpc
diff options
context:
space:
mode:
Diffstat (limited to 'libc/inet/rpc')
-rw-r--r--libc/inet/rpc/rcmd.c1
-rw-r--r--libc/inet/rpc/xdr_stdio.c3
2 files changed, 4 insertions, 0 deletions
diff --git a/libc/inet/rpc/rcmd.c b/libc/inet/rpc/rcmd.c
index bd459826a..c2eed87d4 100644
--- a/libc/inet/rpc/rcmd.c
+++ b/libc/inet/rpc/rcmd.c
@@ -55,6 +55,7 @@ static char sccsid[] = "@(#)rcmd.c 8.3 (Berkeley) 3/26/94";
#define poll __poll
#define accept __accept
#define listen __listen
+#define sigsetmask __sigsetmask
#define __FORCE_GLIBC
#include <features.h>
diff --git a/libc/inet/rpc/xdr_stdio.c b/libc/inet/rpc/xdr_stdio.c
index 411cf17da..bd9ee4f1b 100644
--- a/libc/inet/rpc/xdr_stdio.c
+++ b/libc/inet/rpc/xdr_stdio.c
@@ -37,6 +37,9 @@
* from the stream.
*/
+#define fread __fread
+#define fwrite __fwrite
+
#include <rpc/types.h>
#include <stdio.h>
#include <rpc/xdr.h>