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 <rep.dot.nop@gmail.com>
This commit is contained in:
parent
8ea683d5df
commit
901a53baec
@ -170,8 +170,11 @@
|
||||
#include "libbb.h"
|
||||
|
||||
#if ENABLE_FEATURE_INETD_RPC
|
||||
#include <rpc/rpc.h>
|
||||
#include <rpc/pmap_clnt.h>
|
||||
# if defined(__UCLIBC__) && ! defined(__UCLIBC_HAS_RPC__)
|
||||
# error "You need to build uClibc with UCLIBC_HAS_RPC for NFS support"
|
||||
# endif
|
||||
# include <rpc/rpc.h>
|
||||
# include <rpc/pmap_clnt.h>
|
||||
#endif
|
||||
|
||||
#if !BB_MMU
|
||||
|
Loading…
Reference in New Issue
Block a user