diff options
author | Stevan Bajić <stevan@bajic.ch> | 2012-07-09 09:43:11 +0200 |
---|---|---|
committer | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2014-11-13 00:12:57 +0000 |
commit | 6eff324fdb7ad6487886e190fa761b73dd9a01d4 (patch) | |
tree | be59c5ea50e0e4ca37773109186afd0ab03791eb | |
parent | 6e36ca00ed774a7c5b2f2322c96b023999b733a4 (diff) | |
download | linux-pam-baserock/Linux-PAM-1.1.5.tar.gz |
RLIMIT_* variables are no longer defined unless you explicitly include sys/resource.h.baserock/Linux-PAM-1.1.5
Signed-off-by: Diego Elio Pettenò <flameeyes@flameeyes.eu>
modules/pam_unix/pam_unix_acct.c: Include sys/resource.h.
-rw-r--r-- | modules/pam_unix/pam_unix_acct.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/pam_unix/pam_unix_acct.c b/modules/pam_unix/pam_unix_acct.c index 2731b8b..8cf51c5 100644 --- a/modules/pam_unix/pam_unix_acct.c +++ b/modules/pam_unix/pam_unix_acct.c @@ -41,6 +41,7 @@ #include <string.h> #include <unistd.h> #include <sys/types.h> +#include <sys/resource.h> #include <syslog.h> #include <pwd.h> #include <shadow.h> |