Upstream-Status: Backport From: Mike Frysinger Date: Sun, 13 May 2007 21:17:32 +0000 (-0400) Subject: fix building with tcpd support disabled X-Git-Url: http://neil.brown.name/git?p=portmap;a=commitdiff_plain;h=7847207aed1b44faf077eed14a9ac9c68244eba5 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 --- 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