aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-07-05 23:19:09 -0400
committerMike Frysinger <vapier@gentoo.org>2012-07-05 23:19:09 -0400
commitc5fe9f7b723f949457263ef8e22ab807d5b549ce (patch)
tree805e562a5a90dbafcdeabadc78a81d51b1b862f0 /shell
parent9ad8979ff15e1b894ee1f4bb6a2535a1a2c20d65 (diff)
downloadbusybox-w32-c5fe9f7b723f949457263ef8e22ab807d5b549ce.tar.gz
busybox-w32-c5fe9f7b723f949457263ef8e22ab807d5b549ce.tar.bz2
busybox-w32-c5fe9f7b723f949457263ef8e22ab807d5b549ce.zip
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 'shell')
-rw-r--r--shell/shell_common.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/shell/shell_common.c b/shell/shell_common.c
index 51c92d60e..780e27ebd 100644
--- a/shell/shell_common.c
+++ b/shell/shell_common.c
@@ -18,6 +18,7 @@
18 */ 18 */
19#include "libbb.h" 19#include "libbb.h"
20#include "shell_common.h" 20#include "shell_common.h"
21#include <sys/resource.h> /* getrlimit */
21 22
22const char defifsvar[] ALIGN1 = "IFS= \t\n"; 23const char defifsvar[] ALIGN1 = "IFS= \t\n";
23 24