summaryrefslogtreecommitdiffhomepage
path: root/loginutils
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2018-04-08 17:23:27 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2018-04-08 17:23:27 +0200
commit7bcde5f00dc3a5c92f36bb6ef6bf849794cd766e (patch)
tree49249dae2b01e39dfe75a04b10b4cdfe91566cd4 /loginutils
parent87a08e476b38ec9ac4ee93c34599b24a7bb284d9 (diff)
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 fcdb9592c..25bb5203b 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 d0408d8b4..59f47fc7b 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)
{