From: Thorsten Kukuk Date: Mon, 4 Apr 2016 13:37:32 +0000 (-0400) Subject: getpublickey.c: ifdef out yp headers X-Git-Tag: libtirpc-1-0-2-rc3~3 X-Git-Url: http://git.linux-nfs.org/?p=steved%2Flibtirpc.git;a=commitdiff_plain;h=742bbdff6ddff4dde0d610a842cd8ac0408af0a0 getpublickey.c: ifdef out yp headers If we don't compile in YP support, don't include YP Signed-off-by: Thorsten Kukuk Signed-off-by: Steve Dickson --- diff --git a/src/getpublickey.c b/src/getpublickey.c index 764a5f9..8cf4dc2 100644 --- a/src/getpublickey.c +++ b/src/getpublickey.c @@ -38,8 +38,10 @@ #include #include #include +#ifdef YP #include #include +#endif #include #include