Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-07-06 07:19:09 +0400
committerMike Frysinger <vapier@gentoo.org>2012-07-06 07:19:09 +0400
commitc5fe9f7b723f949457263ef8e22ab807d5b549ce (patch)
tree805e562a5a90dbafcdeabadc78a81d51b1b862f0 /loginutils
parent9ad8979ff15e1b894ee1f4bb6a2535a1a2c20d65 (diff)
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 'loginutils')
-rw-r--r--loginutils/passwd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/loginutils/passwd.c b/loginutils/passwd.c
index b83db0083..a7006f054 100644
--- a/loginutils/passwd.c
+++ b/loginutils/passwd.c
@@ -15,6 +15,7 @@
#include "libbb.h"
#include <syslog.h>
+#include <sys/resource.h> /* setrlimit */
static void nuke_str(char *str)
{