aboutsummaryrefslogtreecommitdiff
path: root/networking/inetd.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/inetd.c')
-rw-r--r--networking/inetd.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/networking/inetd.c b/networking/inetd.c
index 58ae089d1..873fd9528 100644
--- a/networking/inetd.c
+++ b/networking/inetd.c
@@ -158,10 +158,9 @@
158//usage: "[-fe] [-q N] [-R N] [CONFFILE]" 158//usage: "[-fe] [-q N] [-R N] [CONFFILE]"
159//usage:#define inetd_full_usage "\n\n" 159//usage:#define inetd_full_usage "\n\n"
160//usage: "Listen for network connections and launch programs\n" 160//usage: "Listen for network connections and launch programs\n"
161//usage: "\nOptions:"
162//usage: "\n -f Run in foreground" 161//usage: "\n -f Run in foreground"
163//usage: "\n -e Log to stderr" 162//usage: "\n -e Log to stderr"
164//usage: "\n -q N Socket listen queue (default: 128)" 163//usage: "\n -q N Socket listen queue (default: 128)"
165//usage: "\n -R N Pause services after N connects/min" 164//usage: "\n -R N Pause services after N connects/min"
166//usage: "\n (default: 0 - disabled)" 165//usage: "\n (default: 0 - disabled)"
167 166
@@ -171,8 +170,11 @@
171#include "libbb.h" 170#include "libbb.h"
172 171
173#if ENABLE_FEATURE_INETD_RPC 172#if ENABLE_FEATURE_INETD_RPC
174#include <rpc/rpc.h> 173# if defined(__UCLIBC__) && ! defined(__UCLIBC_HAS_RPC__)
175#include <rpc/pmap_clnt.h> 174# error "You need to build uClibc with UCLIBC_HAS_RPC for NFS support"
175# endif
176# include <rpc/rpc.h>
177# include <rpc/pmap_clnt.h>
176#endif 178#endif
177 179
178#if !BB_MMU 180#if !BB_MMU