summaryrefslogtreecommitdiff
path: root/libc/inet/rpc
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-12-10 00:22:53 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-12-10 00:22:53 +0000
commit3720c42fcc3645f08053087b29e8f44cf9aeb438 (patch)
tree75056355e3f9a284d7e3618618bb05dca01ce16c /libc/inet/rpc
parentf445c58e7015240d1e68aa3d7c2cf50a298e2c2a (diff)
Switch fread/fwrite/fclose/pipe/sigsetmask users
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>