diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2018-04-08 17:23:27 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2018-04-08 17:23:27 +0200 |
commit | 7bcde5f00dc3a5c92f36bb6ef6bf849794cd766e (patch) | |
tree | 49249dae2b01e39dfe75a04b10b4cdfe91566cd4 /loginutils | |
parent | 87a08e476b38ec9ac4ee93c34599b24a7bb284d9 (diff) | |
download | busybox-w32-7bcde5f00dc3a5c92f36bb6ef6bf849794cd766e.tar.gz busybox-w32-7bcde5f00dc3a5c92f36bb6ef6bf849794cd766e.tar.bz2 busybox-w32-7bcde5f00dc3a5c92f36bb6ef6bf849794cd766e.zip |
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.c | 1 | ||||
-rw-r--r-- | loginutils/passwd.c | 1 |
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 @@ | |||
64 | #include "libbb.h" | 64 | #include "libbb.h" |
65 | #include "common_bufsiz.h" | 65 | #include "common_bufsiz.h" |
66 | #include <syslog.h> | 66 | #include <syslog.h> |
67 | #include <sys/resource.h> | ||
68 | 67 | ||
69 | #if ENABLE_SELINUX | 68 | #if ENABLE_SELINUX |
70 | # include <selinux/selinux.h> /* for is_selinux_enabled() */ | 69 | # 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 @@ | |||
39 | 39 | ||
40 | #include "libbb.h" | 40 | #include "libbb.h" |
41 | #include <syslog.h> | 41 | #include <syslog.h> |
42 | #include <sys/resource.h> /* setrlimit */ | ||
43 | 42 | ||
44 | static char* new_password(const struct passwd *pw, uid_t myuid, const char *algo) | 43 | static char* new_password(const struct passwd *pw, uid_t myuid, const char *algo) |
45 | { | 44 | { |