diff options
-rw-r--r-- | networking/inetd.c | 6 | ||||
-rw-r--r-- | util-linux/mount.c | 6 |
2 files changed, 10 insertions, 2 deletions
diff --git a/networking/inetd.c b/networking/inetd.c index 6843845fb..ca1a97268 100644 --- a/networking/inetd.c +++ b/networking/inetd.c | |||
@@ -246,7 +246,11 @@ | |||
246 | #if ENABLE_FEATURE_INETD_RPC | 246 | #if ENABLE_FEATURE_INETD_RPC |
247 | # if defined(__UCLIBC__) && ! defined(__UCLIBC_HAS_RPC__) | 247 | # if defined(__UCLIBC__) && ! defined(__UCLIBC_HAS_RPC__) |
248 | # warning "You probably need to build uClibc with UCLIBC_HAS_RPC for NFS support" | 248 | # warning "You probably need to build uClibc with UCLIBC_HAS_RPC for NFS support" |
249 | /* not #error, since user may be using e.g. libtirpc instead */ | 249 | /* not #error, since user may be using e.g. libtirpc instead. |
250 | * This might work: | ||
251 | * CONFIG_EXTRA_CFLAGS="-I/usr/include/tirpc" | ||
252 | * CONFIG_EXTRA_LDLIBS="tirpc" | ||
253 | */ | ||
250 | # endif | 254 | # endif |
251 | # include <rpc/rpc.h> | 255 | # include <rpc/rpc.h> |
252 | # include <rpc/pmap_clnt.h> | 256 | # include <rpc/pmap_clnt.h> |
diff --git a/util-linux/mount.c b/util-linux/mount.c index 4eade0869..fa2e7b114 100644 --- a/util-linux/mount.c +++ b/util-linux/mount.c | |||
@@ -244,7 +244,11 @@ | |||
244 | * uclibc faq entry rather than in busybox... */ | 244 | * uclibc faq entry rather than in busybox... */ |
245 | # if defined(__UCLIBC__) && ! defined(__UCLIBC_HAS_RPC__) | 245 | # if defined(__UCLIBC__) && ! defined(__UCLIBC_HAS_RPC__) |
246 | # warning "You probably need to build uClibc with UCLIBC_HAS_RPC for NFS support" | 246 | # warning "You probably need to build uClibc with UCLIBC_HAS_RPC for NFS support" |
247 | /* not #error, since user may be using e.g. libtirpc instead */ | 247 | /* not #error, since user may be using e.g. libtirpc instead. |
248 | * This might work: | ||
249 | * CONFIG_EXTRA_CFLAGS="-I/usr/include/tirpc" | ||
250 | * CONFIG_EXTRA_LDLIBS="tirpc" | ||
251 | */ | ||
248 | # endif | 252 | # endif |
249 | # include <rpc/rpc.h> | 253 | # include <rpc/rpc.h> |
250 | # include <rpc/pmap_prot.h> | 254 | # include <rpc/pmap_prot.h> |