mirror of
https://github.com/topjohnwu/ndk-busybox.git
synced 2024-11-27 05:30:34 +00:00
inetd,mount: do not die if uclibc without RPC is detected
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
2f6dc07d8f
commit
f807b8e96e
@ -227,7 +227,8 @@
|
||||
|
||||
#if ENABLE_FEATURE_INETD_RPC
|
||||
# if defined(__UCLIBC__) && ! defined(__UCLIBC_HAS_RPC__)
|
||||
# error "You need to build uClibc with UCLIBC_HAS_RPC for NFS support"
|
||||
# warning "You probably need to build uClibc with UCLIBC_HAS_RPC for NFS support"
|
||||
/* not #error, since user may be using e.g. libtirpc instead */
|
||||
# endif
|
||||
# include <rpc/rpc.h>
|
||||
# include <rpc/pmap_clnt.h>
|
||||
|
@ -246,7 +246,8 @@
|
||||
/* This is just a warning of a common mistake. Possibly this should be a
|
||||
* uclibc faq entry rather than in busybox... */
|
||||
# if defined(__UCLIBC__) && ! defined(__UCLIBC_HAS_RPC__)
|
||||
# error "You need to build uClibc with UCLIBC_HAS_RPC for NFS support"
|
||||
# warning "You probably need to build uClibc with UCLIBC_HAS_RPC for NFS support"
|
||||
/* not #error, since user may be using e.g. libtirpc instead */
|
||||
# endif
|
||||
# include <rpc/rpc.h>
|
||||
# include <rpc/pmap_prot.h>
|
||||
|
Loading…
Reference in New Issue
Block a user