summaryrefslogtreecommitdiffstats
path: root/libc/inet/rpc/xdr_rec.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/inet/rpc/xdr_rec.c')
-rw-r--r--libc/inet/rpc/xdr_rec.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libc/inet/rpc/xdr_rec.c b/libc/inet/rpc/xdr_rec.c
index a8d95e162..15381a6cc 100644
--- a/libc/inet/rpc/xdr_rec.c
+++ b/libc/inet/rpc/xdr_rec.c
@@ -44,6 +44,8 @@
* The other 31 bits encode the byte length of the fragment.
*/
+#define fputs __fputs
+
#define __FORCE_GLIBC
#define _GNU_SOURCE
#include <features.h>
@@ -317,7 +319,7 @@ xdrrec_getpos (const XDR *xdrs)
RECSTREAM *rstrm = (RECSTREAM *) xdrs->x_private;
long pos;
- pos = lseek ((int) (long) rstrm->tcp_handle, (long) 0, 1);
+ pos = __lseek ((int) (long) rstrm->tcp_handle, (long) 0, 1);
if (pos != -1)
switch (xdrs->x_op)
{