aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/rpc/netnamer.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/rpc/netnamer.c')
-rw-r--r--lib/libc/rpc/netnamer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libc/rpc/netnamer.c b/lib/libc/rpc/netnamer.c
index 3777e16ac293..1829a45f8b78 100644
--- a/lib/libc/rpc/netnamer.c
+++ b/lib/libc/rpc/netnamer.c
@@ -58,7 +58,9 @@ __FBSDID("$FreeBSD$");
#include "un-namespace.h"
static char *OPSYS = "unix";
+#ifdef YP
static char *NETID = "netid.byname";
+#endif
static char *NETIDFILE = "/etc/netid";
static int getnetid( char *, char * );