From 7847207aed1b44faf077eed14a9ac9c68244eba5 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 13 May 2007 17:17:32 -0400 Subject: [PATCH] fix building with tcpd support disabled Make sure pmap_check.c only includes tcpd.h when HOSTS_ACCESS is defined. Signed-off-by: Timothy Redaelli Signed-off-by: Mike Frysinger Signed-off-by: Neil Brown --- pmap_check.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pmap_check.c b/pmap_check.c index 84f2c12..443a822 100644 --- a/pmap_check.c +++ b/pmap_check.c @@ -44,7 +44,9 @@ #include #include #endif +#ifdef HOSTS_ACCESS #include +#endif #include #include -- 2.39.5