From 23397956aa549244d739160aef4ec9a8c1b9fff3 Mon Sep 17 00:00:00 2001 From: avatar Date: Fri, 27 Jun 2008 15:29:48 +0000 Subject: Fixing NO_INET6 build. --- sys/nlm/nlm_prot_impl.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'sys/nlm/nlm_prot_impl.c') diff --git a/sys/nlm/nlm_prot_impl.c b/sys/nlm/nlm_prot_impl.c index 7647ae5..14c439e 100644 --- a/sys/nlm/nlm_prot_impl.c +++ b/sys/nlm/nlm_prot_impl.c @@ -1380,7 +1380,10 @@ nlm_server_main(int addr_count, char **addrs) struct nlm_waiting_lock *nw; vop_advlock_t *old_nfs_advlock; vop_reclaim_t *old_nfs_reclaim; - int v4_used, v6_used; + int v4_used; +#ifdef INET6 + int v6_used; +#endif if (nlm_socket) { printf("NLM: can't start server - it appears to be running already\n"); -- cgit v1.1