summaryrefslogtreecommitdiff
path: root/loginutils
diff options
context:
space:
mode:
authorDenys Vlasenko2018-04-08 17:23:27 +0200
committerDenys Vlasenko2018-04-08 17:23:27 +0200
commit7bcde5f00dc3a5c92f36bb6ef6bf849794cd766e (patch)
tree49249dae2b01e39dfe75a04b10b4cdfe91566cd4 /loginutils
parent87a08e476b38ec9ac4ee93c34599b24a7bb284d9 (diff)
downloadbusybox-7bcde5f00dc3a5c92f36bb6ef6bf849794cd766e.zip
busybox-7bcde5f00dc3a5c92f36bb6ef6bf849794cd766e.tar.gz
libbb.h: always include sys/resource.h
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'loginutils')
-rw-r--r--loginutils/login.c1
-rw-r--r--loginutils/passwd.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/loginutils/login.c b/loginutils/login.c
index fcdb959..25bb520 100644
--- a/loginutils/login.c
+++ b/loginutils/login.c
@@ -64,7 +64,6 @@
#include "libbb.h"
#include "common_bufsiz.h"
#include <syslog.h>
-#include <sys/resource.h>
#if ENABLE_SELINUX
# include <selinux/selinux.h> /* for is_selinux_enabled() */
diff --git a/loginutils/passwd.c b/loginutils/passwd.c
index d0408d8..59f47fc 100644
--- a/loginutils/passwd.c
+++ b/loginutils/passwd.c
@@ -39,7 +39,6 @@
#include "libbb.h"
#include <syslog.h>
-#include <sys/resource.h> /* setrlimit */
static char* new_password(const struct passwd *pw, uid_t myuid, const char *algo)
{