From df2dc74ed1ab64739a5d752d87c2db42f10f96d6 Mon Sep 17 00:00:00 2001 From: ngie Date: Mon, 3 Nov 2014 23:37:51 +0000 Subject: rpc_control on FreeBSD is a public-ish API (not prefixed with __), not private like NetBSD Submitted by: pho --- contrib/netbsd-tests/lib/libc/rpc/t_rpc.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'contrib/netbsd-tests/lib/libc/rpc/t_rpc.c') diff --git a/contrib/netbsd-tests/lib/libc/rpc/t_rpc.c b/contrib/netbsd-tests/lib/libc/rpc/t_rpc.c index cc1ec09..67bc8c7 100644 --- a/contrib/netbsd-tests/lib/libc/rpc/t_rpc.c +++ b/contrib/netbsd-tests/lib/libc/rpc/t_rpc.c @@ -47,6 +47,10 @@ reply(caddr_t replyp, struct netbuf * raddrp, struct netconfig * nconf) return 0; } +#ifdef __FreeBSD__ +#define __rpc_control rpc_control +#endif + extern bool __rpc_control(int, void *); static void -- cgit v1.1