From c5fe9f7b723f949457263ef8e22ab807d5b549ce Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 5 Jul 2012 23:19:09 -0400 Subject: 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 --- shell/shell_common.c | 1 + 1 file changed, 1 insertion(+) (limited to 'shell/shell_common.c') 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 @@ */ #include "libbb.h" #include "shell_common.h" +#include /* getrlimit */ const char defifsvar[] ALIGN1 = "IFS= \t\n"; -- cgit v1.2.3