summaryrefslogtreecommitdiff
path: root/networking/inetd.c
diff options
context:
space:
mode:
authorMike Frysinger2012-07-05 23:19:09 -0400
committerMike Frysinger2012-07-05 23:19:09 -0400
commitc5fe9f7b723f949457263ef8e22ab807d5b549ce (patch)
tree805e562a5a90dbafcdeabadc78a81d51b1b862f0 /networking/inetd.c
parent9ad8979ff15e1b894ee1f4bb6a2535a1a2c20d65 (diff)
downloadbusybox-c5fe9f7b723f949457263ef8e22ab807d5b549ce.zip
busybox-c5fe9f7b723f949457263ef8e22ab807d5b549ce.tar.gz
include sys/resource.h where needed
We use functions from sys/resource.h in misc applets, but don't include the header. This breaks building with newer glibc versions, so add the include where needed. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'networking/inetd.c')
-rw-r--r--networking/inetd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/networking/inetd.c b/networking/inetd.c
index 1308d74..00baf69 100644
--- a/networking/inetd.c
+++ b/networking/inetd.c
@@ -165,6 +165,7 @@
//usage: "\n (default: 0 - disabled)"
#include <syslog.h>
+#include <sys/resource.h> /* setrlimit */
#include <sys/socket.h> /* un.h may need this */
#include <sys/un.h>