summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libc/inet/rpc/Makefile.in2
-rw-r--r--libc/inet/rpc/pm_getmaps.c (renamed from libc/inet/rpc/pmap_getmaps.c)2
2 files changed, 3 insertions, 1 deletions
diff --git a/libc/inet/rpc/Makefile.in b/libc/inet/rpc/Makefile.in
index cee428b09..d118a6457 100644
--- a/libc/inet/rpc/Makefile.in
+++ b/libc/inet/rpc/Makefile.in
@@ -11,7 +11,7 @@ ifneq ($(UCLIBC_HAS_FULL_RPC),y)
CSRC:= authunix_prot.c auth_none.c auth_unix.c bindresvport.c \
clnt_perror.c clnt_simple.c clnt_tcp.c clnt_udp.c \
create_xid.c getrpcent.c \
- pmap_clnt.c pmap_getmaps.c pmap_getport.c pmap_prot.c pmap_prot2.c \
+ pmap_clnt.c pm_getmaps.c pmap_getport.c pmap_prot.c pmap_prot2.c \
rcmd.c rexec.c rpc_cmsg.c rpc_commondata.c rpc_dtablesize.c \
rpc_prot.c rpc_thread.c rtime.c ruserpass.c sa_len.c \
svc.c svc_auth.c svc_authux.c \
diff --git a/libc/inet/rpc/pmap_getmaps.c b/libc/inet/rpc/pm_getmaps.c
index 79c30d94f..3f8617ca2 100644
--- a/libc/inet/rpc/pmap_getmaps.c
+++ b/libc/inet/rpc/pm_getmaps.c
@@ -44,8 +44,10 @@ static char sccsid[] = "@(#)pmap_getmaps.c 1.10 87/08/11 Copyr 1984 Sun Micro";
#include <rpc/pmap_clnt.h>
#include <sys/socket.h>
#include <netdb.h>
+#include <stdbool.h>
#include <stdio.h>
#include <errno.h>
+#include <unistd.h>
libc_hidden_proto(clnt_perror)
libc_hidden_proto(clnttcp_create)