From: Bernhard Reutner-Fischer Date: Wed, 15 Jun 2011 07:38:43 +0000 (+0200) Subject: inetd: check if RPC is available X-Git-Tag: 1_19_0~63 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=901a53baecd5b8a580f63eb23d481f553de72634;p=oweals%2Fbusybox.git inetd: check if RPC is available It would be better to have FEATURE_HAVE_RPC be user-selectable and depend mount.nfs and inetd-rpc on it instead of the current, backward, way. Signed-off-by: Bernhard Reutner-Fischer --- diff --git a/networking/inetd.c b/networking/inetd.c index 26348fa93..873fd9528 100644 --- a/networking/inetd.c +++ b/networking/inetd.c @@ -170,8 +170,11 @@ #include "libbb.h" #if ENABLE_FEATURE_INETD_RPC -#include -#include +# if defined(__UCLIBC__) && ! defined(__UCLIBC_HAS_RPC__) +# error "You need to build uClibc with UCLIBC_HAS_RPC for NFS support" +# endif +# include +# include #endif #if !BB_MMU