aboutsummaryrefslogtreecommitdiffstats
path: root/main/libtirpc/yp.patch
blob: dd3221925466399a52bd056035b3e8999ac327cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- ./src/getpublickey.c.orig
+++ ./src/getpublickey.c
@@ -38,8 +38,10 @@
 #include <pwd.h>
 #include <rpc/rpc.h>
 #include <rpc/key_prot.h>
+#ifdef YP
 #include <rpcsvc/yp_prot.h>
 #include <rpcsvc/ypclnt.h>
+#endif
 #include <string.h>
 #include <stdlib.h>