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 --- runit/chpst.c | 1 + 1 file changed, 1 insertion(+) (limited to 'runit') diff --git a/runit/chpst.c b/runit/chpst.c index ac296babf..ed72c8b8c 100644 --- a/runit/chpst.c +++ b/runit/chpst.c @@ -91,6 +91,7 @@ ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. //usage: "\n a SIGXCPU after N seconds" #include "libbb.h" +#include /* getrlimit */ /* Five applets here: chpst, envdir, envuidgid, setuidgid, softlimit. -- cgit v1.2.3