summaryrefslogtreecommitdiffstats
path: root/contrib/netbsd-tests/lib/libc/rpc/t_rpc.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/netbsd-tests/lib/libc/rpc/t_rpc.c')
-rw-r--r--contrib/netbsd-tests/lib/libc/rpc/t_rpc.c4
1 files changed, 4 insertions, 0 deletions
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
OpenPOWER on IntegriCloud