about summary refs log tree commit diff
path: root/sunrpc
diff options
context:
space:
mode:
Diffstat (limited to 'sunrpc')
-rw-r--r--sunrpc/Makefile4
-rw-r--r--sunrpc/rpc/netdb.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/sunrpc/Makefile b/sunrpc/Makefile
index 16a503875e..70f91d2bfd 100644
--- a/sunrpc/Makefile
+++ b/sunrpc/Makefile
@@ -53,11 +53,11 @@ headers = $(addprefix rpc/,auth.h auth_unix.h clnt.h netdb.h pmap_clnt.h \
 			   pmap_prot.h pmap_rmt.h rpc.h rpc_msg.h svc.h \
 			   svc_auth.h types.h xdr.h auth_des.h) \
 	  $(rpcsvc:%=rpcsvc/%)
+install-others = $(inst_sysconfdir)/rpc
 ifeq (no,$(cross-compiling))
 headers += $(rpcsvc:%.x=rpcsvc/%.h)
+install-others += $(inst_includedir)/rpcsvc/bootparam_prot.h
 endif
-install-others = $(inst_includedir)/rpcsvc/bootparam_prot.h \
-		 $(inst_sysconfdir)/rpc
 generated = $(rpcsvc:%.x=rpcsvc/%.h) $(rpcsvc:%.x=x%.c)
 
 routines := auth_none auth_unix authuxprot bindrsvprt \
diff --git a/sunrpc/rpc/netdb.h b/sunrpc/rpc/netdb.h
index f77c6b3d76..e0c1d7de6e 100644
--- a/sunrpc/rpc/netdb.h
+++ b/sunrpc/rpc/netdb.h
@@ -54,7 +54,7 @@ extern struct rpcent *getrpcbyname __P ((__const char *__name));
 extern struct rpcent *getrpcbynumber __P ((int __number));
 extern struct rpcent *getrpcent __P ((void));
 
-#ifdef __USE_REENTRANT
+#ifdef __USE_MISC
 extern int getrpcbyname_r __P ((__const char *__name,
 				struct rpcent *__result_buf, char *__buffer,
 				size_t __buflen, struct rpcent **__result));