include sys/resource.h where needed
authorMike Frysinger <vapier@gentoo.org>
Fri, 6 Jul 2012 03:19:09 +0000 (23:19 -0400)
committerMike Frysinger <vapier@gentoo.org>
Sat, 20 Oct 2012 19:29:28 +0000 (15:29 -0400)
commit246ea72843d5b7e9d4cd902dc5e9d71359196303
tree4eff69357138074a1df85c13a0f0c2281603badc
parent5a5dfcad6ba96d12d68bd7b39279215a8fee70d3
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>
(cherry picked from commit c5fe9f7b723f949457263ef8e22ab807d5b549ce)
loginutils/passwd.c
miscutils/time.c
networking/inetd.c
networking/ntpd.c
networking/ntpd_simple.c
runit/chpst.c
shell/shell_common.c