summaryrefslogtreecommitdiffstats
path: root/c/src/librpc/src/rpc/netnamer.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/librpc/src/rpc/netnamer.c')
-rw-r--r--c/src/librpc/src/rpc/netnamer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/c/src/librpc/src/rpc/netnamer.c b/c/src/librpc/src/rpc/netnamer.c
index 26e58b02c3..eac9913119 100644
--- a/c/src/librpc/src/rpc/netnamer.c
+++ b/c/src/librpc/src/rpc/netnamer.c
@@ -52,7 +52,9 @@ static char sccsid[] = "@(#)netnamer.c 1.13 91/03/11 Copyr 1986 Sun Micro";
#include <unistd.h>
static char *OPSYS = "unix";
+#ifdef YP
static char *NETID = "netid.byname";
+#endif
static char *NETIDFILE = "/etc/netid";
static int getnetid __P(( char *, char * ));