summaryrefslogtreecommitdiff
path: root/external/bsd/am-utils/include
diff options
context:
space:
mode:
authorroy <roy@NetBSD.org>2019-04-24 10:28:17 +0000
committerroy <roy@NetBSD.org>2019-04-24 10:28:17 +0000
commitb2548c8edea5ccfca3dbbfa7a10389e89c024bc3 (patch)
treee7d47dbe4309f783e39f6578b3183eae4c5664fb /external/bsd/am-utils/include
parent2bdb98a4865e41cb5c14ab2a395fca29ad9eac26 (diff)
Fix building am-utils with MKYP=no
Diffstat (limited to 'external/bsd/am-utils/include')
-rw-r--r--external/bsd/am-utils/include/config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/external/bsd/am-utils/include/config.h b/external/bsd/am-utils/include/config.h
index 9ccfec42023..f5667ba0f0d 100644
--- a/external/bsd/am-utils/include/config.h
+++ b/external/bsd/am-utils/include/config.h
@@ -869,11 +869,13 @@
/* Define to 1 if you have the <rpcsvc/nis.h> header file. */
/* #undef HAVE_RPCSVC_NIS_H */
+#ifdef YP
/* Define to 1 if you have the <rpcsvc/ypclnt.h> header file. */
#define HAVE_RPCSVC_YPCLNT_H 1
/* Define to 1 if you have the <rpcsvc/yp_prot.h> header file. */
#define HAVE_RPCSVC_YP_PROT_H 1
+#endif
/* Define to 1 if you have the <rpc/auth_des.h> header file. */
/* #undef HAVE_RPC_AUTH_DES_H */